Attribute to mark a static field with a reset mode. More...
Inherits Attribute.
Public Member Functions | |
StaticFieldAttribute () | |
Initializes a new instance of the StaticFieldAttribute class with the default reset mode. More... | |
StaticFieldAttribute (StaticFieldResetMode resetMode) | |
Initializes a new instance of the StaticFieldAttribute class with the specified reset mode. More... | |
Properties | |
StaticFieldResetMode | Reset [get] |
Gets the reset mode for the static field. More... | |
Attribute to mark a static field with a reset mode.
StaticFieldAttribute | ( | StaticFieldResetMode | resetMode | ) |
Initializes a new instance of the StaticFieldAttribute class with the specified reset mode.
resetMode | The reset mode for the static field. |
Initializes a new instance of the StaticFieldAttribute class with the default reset mode.
|
get |
Gets the reset mode for the static field.