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