public bool TryLoad(out int value) { if (this.Name != null) { this.Value = ItemIndicator.GetIdFromName(this.Name); } value = this.Value; return(this.Value != Unloaded); }
public bool AreEqual(ItemIndicator other) { return(this.Name != null ? this.Name == other.Name : this.Value == other.Value); }