SemanticallyAdvisedMethodKinds
In Metalama, implement different methods OverrideMethod(), OverrideAsyncMethod(), OverrideEnumerableMethod() or OverrideEnumeratorMethod(), and set the properties UseAsyncTemplateForAnyAwaitable or UseEnumerableTemplateForAnyEnumerable.
Declaration
[Obsolete("In Metalama, implement different methods 'OverrideMethodAspect.OverrideMethod()', 'OverrideMethodAspect.OverrideAsyncMethod()', 'OverrideMethodAspect.OverrideEnumerableMethod()' or 'OverrideMethodAspect.OverrideEnumeratorMethod()', and set the properties 'OverrideMethodAspect.UseAsyncTemplateForAnyAwaitable' or 'OverrideMethodAspect.UseEnumerableTemplateForAnyEnumerable'.", false)]
protected SemanticallyAdvisedMethodKinds SemanticallyAdvisedMethodKinds { get; set; }
Property Value
Type | Description |
---|---|
SemanticallyAdvisedMethodKinds |