Ofcas.Lk.Api.Client - Version 3.0  3.0.0.111
Ofcas.Lk.Api.Client.Core.OperationInfo Class Reference

Contains information about an operation whether it can be called. More...

Public Member Functions

override string ToString ()
 Converts the OperationInfo to a string. More...
 
void TryThrow ()
 Throws an ApiException with the restrictions as message if the operation cannot be executed. More...
 

Properties

bool CanExecute [get]
 Indicates whether the operation can be executed or not. More...
 
List< RestrictionRestrictions [get]
 Provides a list of restrictions. More...
 

Detailed Description

Contains information about an operation whether it can be called.

Member Function Documentation

◆ ToString()

override string Ofcas.Lk.Api.Client.Core.OperationInfo.ToString ( )

Converts the OperationInfo to a string.

Returns
Returns the OperationInfo as string.

◆ TryThrow()

void Ofcas.Lk.Api.Client.Core.OperationInfo.TryThrow ( )

Throws an ApiException with the restrictions as message if the operation cannot be executed.

Exceptions
ApiExceptionOccurs if the operation cannot be executed.

Property Documentation

◆ CanExecute

bool Ofcas.Lk.Api.Client.Core.OperationInfo.CanExecute
get

Indicates whether the operation can be executed or not.

◆ Restrictions

List<Restriction> Ofcas.Lk.Api.Client.Core.OperationInfo.Restrictions
get

Provides a list of restrictions.


The documentation for this class was generated from the following file: