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