Table of Contents

Class PresetsAttribute

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

This attribute is used to associate a retrieval key with a field that can be used by a property drawer to retrieve a list of presets.

public sealed class PresetsAttribute : Attribute
Inheritance
PresetsAttribute
Inherited Members
Extension Methods

Remarks

The list must be registered with the same key using RegisterValuesRetriever<T>(string, Func<IEnumerable<T>>) in order for the property drawer to get the values.

Constructors

PresetsAttribute(string, string)

Initializes a new instance of the PresetsAttribute class.

Properties

PresetRetrievalKey

They key used to retrieve the presets.

Title