Method IntroduceConversionOperator
IntroduceConversionOperator(INamedType, String, IType, IType, Boolean, OverrideStrategy, Action<IMethodBuilder>, Object, Object)
Declaration
IIntroductionAdviceResult<IMethod> IntroduceConversionOperator(INamedType targetType, string template, IType fromType, IType toType, bool isImplicit = false, OverrideStrategy whenExists, Action<IMethodBuilder> buildOperator = null, object args = null, object tags = null)
Parameters
Type | Name | Description |
---|---|---|
INamedType | targetType | |
System.String | template | |
IType | fromType | |
IType | toType | |
System.Boolean | isImplicit | |
OverrideStrategy | whenExists | |
System.Action<IMethodBuilder> | buildOperator | |
System.Object | args | |
System.Object | tags |
Returns
Type | Description |
---|---|
IIntroductionAdviceResult<IMethod> |