Binder.UnaryOperation Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new CSharp unary operation binder.
Assembly: Microsoft.CSharp (in Microsoft.CSharp.dll)
public static CallSiteBinder UnaryOperation( CSharpBinderFlags flags, ExpressionType operation, Type context, IEnumerable<CSharpArgumentInfo> argumentInfo )
Parameters
- flags
- Type: Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags
The flags with which to initialize the binder.
- operation
- Type: System.Linq.Expressions.ExpressionType
The unary operation kind.
- context
- Type: System.Type
The Type that indicates where this operation is used.
- argumentInfo
- Type: System.Collections.Generic.IEnumerable<CSharpArgumentInfo>
The sequence of CSharpArgumentInfo instances for the arguments to this operation.
Return Value
Type: System.Runtime.CompilerServices.CallSiteBinderReturns a new CSharp unary operation binder.
Show: