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> buildAction = null, object args = null, object tags = null)
Parameters
Type | Name | Description |
---|---|---|
INamedType | targetType | |
String | template | |
IType | fromType | |
IType | toType | |
Boolean | isImplicit | |
OverrideStrategy | whenExists | |
Action<IMethodBuilder> | buildAction | |
Object | args | |
Object | tags |
Returns
Type | Description |
---|---|
IIntroductionAdviceResult<IMethod> |