EnumExpression<T> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EnumExpression<T>() |
Initializes a new instance of the EnumExpression<T> class. |
EnumExpression<T>(Expression) |
Initializes a new instance of the EnumExpression<T> class. |
EnumExpression<T>(JToken) |
Initializes a new instance of the EnumExpression<T> class. |
EnumExpression<T>(Func<Object,Object>) |
Initializes a new instance of the EnumExpression<T> class. |
EnumExpression<T>(String) |
Initializes a new instance of the EnumExpression<T> class. |
EnumExpression<T>(T) |
Initializes a new instance of the EnumExpression<T> class. |
EnumExpression<T>()
Initializes a new instance of the EnumExpression<T> class.
public EnumExpression ();
Public Sub New ()
Applies to
EnumExpression<T>(Expression)
Initializes a new instance of the EnumExpression<T> class.
public EnumExpression (AdaptiveExpressions.Expression expression);
new AdaptiveExpressions.Properties.EnumExpression<'T (requires 'T : struct)> : AdaptiveExpressions.Expression -> AdaptiveExpressions.Properties.EnumExpression<'T (requires 'T : struct)>
Public Sub New (expression As Expression)
Parameters
- expression
- Expression
expression to resolve to an enum.
Applies to
EnumExpression<T>(JToken)
Initializes a new instance of the EnumExpression<T> class.
public EnumExpression (Newtonsoft.Json.Linq.JToken expressionOrValue);
new AdaptiveExpressions.Properties.EnumExpression<'T (requires 'T : struct)> : Newtonsoft.Json.Linq.JToken -> AdaptiveExpressions.Properties.EnumExpression<'T (requires 'T : struct)>
Public Sub New (expressionOrValue As JToken)
Parameters
- expressionOrValue
- Newtonsoft.Json.Linq.JToken
jtoken value to resolve to an enum.
Applies to
EnumExpression<T>(Func<Object,Object>)
Initializes a new instance of the EnumExpression<T> class.
public EnumExpression (Func<object,object> lambda);
new AdaptiveExpressions.Properties.EnumExpression<'T (requires 'T : struct)> : Func<obj, obj> -> AdaptiveExpressions.Properties.EnumExpression<'T (requires 'T : struct)>
Public Sub New (lambda As Func(Of Object, Object))
Parameters
Applies to
EnumExpression<T>(String)
Initializes a new instance of the EnumExpression<T> class.
public EnumExpression (string expression);
new AdaptiveExpressions.Properties.EnumExpression<'T (requires 'T : struct)> : string -> AdaptiveExpressions.Properties.EnumExpression<'T (requires 'T : struct)>
Public Sub New (expression As String)
Parameters
- expression
- String
expression to resolve to an enum.
Applies to
EnumExpression<T>(T)
Initializes a new instance of the EnumExpression<T> class.
public EnumExpression (T value);
new AdaptiveExpressions.Properties.EnumExpression<'T (requires 'T : struct)> : 'T -> AdaptiveExpressions.Properties.EnumExpression<'T (requires 'T : struct)>
Public Sub New (value As T)
Parameters
- value
- T
value of T.