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