다음을 통해 공유


Binder.UnaryOperation 메서드

정의

새 CSharp 단항 연산 바인더를 초기화합니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

public:
 static System::Runtime::CompilerServices::CallSiteBinder ^ UnaryOperation(Microsoft::CSharp::RuntimeBinder::CSharpBinderFlags flags, System::Linq::Expressions::ExpressionType operation, Type ^ context, System::Collections::Generic::IEnumerable<Microsoft::CSharp::RuntimeBinder::CSharpArgumentInfo ^> ^ argumentInfo);
public static System.Runtime.CompilerServices.CallSiteBinder UnaryOperation (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Linq.Expressions.ExpressionType operation, Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo);
public static System.Runtime.CompilerServices.CallSiteBinder UnaryOperation (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Linq.Expressions.ExpressionType operation, Type? context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo>? argumentInfo);
static member UnaryOperation : Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags * System.Linq.Expressions.ExpressionType * Type * seq<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> -> System.Runtime.CompilerServices.CallSiteBinder
Public Shared Function UnaryOperation (flags As CSharpBinderFlags, operation As ExpressionType, context As Type, argumentInfo As IEnumerable(Of CSharpArgumentInfo)) As CallSiteBinder

매개 변수

flags
CSharpBinderFlags

바인더를 초기화하는 데 사용할 플래그입니다.

operation
ExpressionType

단항 연산 종류입니다.

context
Type

이 작업이 사용된 위치를 나타내는 Type입니다.

argumentInfo
IEnumerable<CSharpArgumentInfo>

이 작업의 인수에 사용할 CSharpArgumentInfo 인스턴스의 시퀀스입니다.

반환

새 CSharp 단항 연산 바인더입니다.

적용 대상