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