PresetPickerObject.PresetCollection

References
A collection of all non-conflicting presets as defined by all targets of the picker object, including any collision error messages.

Properties

Fallback

#
public string[] Fallback { get; }
Gets the preset names harvested from the output parameter persistent data.

Messages

#
public Message[] Messages { get; }
All preset collision error messages.

Outputs

#
public Guid[] Outputs { get; }
All the output parameter IDs associated with this state.

Presets

#
public IPreset[] Presets { get; }
All presets harvested from all outputs.

Methods

Equals

#
public override bool Equals(object obj)
obj (object)
Object.Equals

Equals

#
public bool Equals(PresetCollection other)

Get

#
public IPreset Get(int index)
Gets the preset as implied by the index. If the index exceeds valid array indices, it will be projected back onto the valid domain.
index (int)

Get

#
public IPreset Get(string name)
Gets the preset with the given name, if any.
name (string)

GetHashCode

#
public override int GetHashCode()

IndexOf

#
public int IndexOf(string name)
Gets the index of the preset with the given name, or -1 if the name is not recognised.
name (string)

IsStillValid

#
public bool IsStillValid()
Gets whether this state is still valid given the current context of the picker.