RuntimeInitialize(MethodBase)
In Metalama, add an initializer from the BuildAspect(IAspectBuilder<IMethod>) method by calling
builder
.Advice.AddInitializer(INamedType, string, InitializerKind, object?, object?).
Declaration
void RuntimeInitialize(MethodBase method)
Parameters
Type | Name | Description |
---|---|---|
MethodBase | method |