Bewerken

Delen via


Activity<TResult>.Implicit Operator

Definition

Overloads

Implicit(Variable to Activity<TResult>)

Returns a Activity<TResult> expression that evaluates to the given Variable.

Implicit(Variable<TResult> to Activity<TResult>)

Returns a Activity<TResult> expression that evaluates to the given Variable<T>.

Implicit(TResult to Activity<TResult>)

Returns a Activity<TResult> expression that evaluates to the given value.

Implicit(Variable to Activity<TResult>)

Returns a Activity<TResult> expression that evaluates to the given Variable.

public:
 static operator System::Activities::Activity<TResult> ^(System::Activities::Variable ^ variable);
public static implicit operator System.Activities.Activity<TResult> (System.Activities.Variable variable);
static member op_Implicit : System.Activities.Variable -> System.Activities.Activity<'Result>
Public Shared Widening Operator CType (variable As Variable) As Activity(Of TResult)

Parameters

variable
Variable

The value for the expression.

Returns

A workflow expression that evaluates to the given variable.

Remarks

If the type of the Variable is not compatible with the type of the Activity<TResult>, then an ArgumentException is thrown.

Applies to

Implicit(Variable<TResult> to Activity<TResult>)

Returns a Activity<TResult> expression that evaluates to the given Variable<T>.

public:
 static operator System::Activities::Activity<TResult> ^(System::Activities::Variable<TResult> ^ variable);
public static implicit operator System.Activities.Activity<TResult> (System.Activities.Variable<TResult> variable);
static member op_Implicit : System.Activities.Variable<'Result> -> System.Activities.Activity<'Result>
Public Shared Widening Operator CType (variable As Variable(Of TResult)) As Activity(Of TResult)

Parameters

variable
Variable<TResult>

The value for the expression.

Returns

A workflow expression that evaluates to the given variable.

Applies to

Implicit(TResult to Activity<TResult>)

Returns a Activity<TResult> expression that evaluates to the given value.

public:
 static operator System::Activities::Activity<TResult> ^(TResult constValue);
public static implicit operator System.Activities.Activity<TResult> (TResult constValue);
static member op_Implicit : 'Result -> System.Activities.Activity<'Result>
Public Shared Widening Operator CType (constValue As TResult) As Activity(Of TResult)

Parameters

constValue
TResult

The value used to create the expression.

Returns

A workflow expression that evaluates to the given value.

Applies to