Method IntroduceBinaryOperator
IntroduceBinaryOperator(INamedType, String, IType, IType, IType, OperatorKind, OverrideStrategy, Action<IMethodBuilder>, Object, Object)
Declaration
IIntroductionAdviceResult<IMethod> IntroduceBinaryOperator(INamedType targetType, string template, IType leftType, IType rightType, IType resultType, OperatorKind kind, OverrideStrategy whenExists, Action<IMethodBuilder> buildOperator = null, object args = null, object tags = null)
Parameters
Type | Name | Description |
---|---|---|
INamedType | targetType | |
System.String | template | |
IType | leftType | |
IType | rightType | |
IType | resultType | |
OperatorKind | kind | |
OverrideStrategy | whenExists | |
System.Action<IMethodBuilder> | buildOperator | |
System.Object | args | |
System.Object | tags |
Returns
Type | Description |
---|---|
IIntroductionAdviceResult<IMethod> |