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

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

Public Member Functions

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

◆ 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: