MetalamaAPI documentationAspect APIMetalama.​Framework.​AdvisingMethod­Template­Selectorimplicit operator
Open sandboxFocus

MethodTemplateSelector.implicit operator Operator

implicit operator MethodTemplateSelector(string)

Converts a string to a new instance of the MethodTemplateSelector where the DefaultTemplate property is set to this string.

Declaration
public static implicit operator MethodTemplateSelector(string defaultTemplate)
Parameters
Type Name Description
string defaultTemplate

Name of the default template.

Returns
Type Description
MethodTemplateSelector