ConditionalScope Members
Include Protected Members
Include Inherited Members
Executes code on the server conditionally.
The ConditionalScope type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ConditionalScope(ClientRuntimeContext, Expression<Func<Boolean>>) | Initializes a new instance of the ConditionalScope class with the specified client runtime context and conditional expression. | |
ConditionalScope(ClientRuntimeContext, Expression<Func<Boolean>>, Boolean) | Initializes a new instance of the ConditionalScope class with the specified client runtime context, the conditional expression, and the flag that indicates whether to allow all actions inside the conditional scope or to allow only queries. |
Top
Properties
Name | Description | |
---|---|---|
TestResult | Gets the result of the conditional expression that was evaluated on the server. |
Top
Methods
Name | Description | |
---|---|---|
StartIfFalse | Starts the execution of the ELSE clause of the conditional expression. | |
StartIfTrue | Starts the THEN clause of the conditional expression. | |
StartScope | Starts the execution of the LINQ expression. | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IFromJson.CustomFromJson | Returns a flag that indicates whether to use custom code to initialize its properties. This member is reserved for internal use and is not intended to be used directly from your code. | |
IFromJson.FromJson | This member is reserved for internal use and is not intended to be used directly from your code. |
Top