예제 #1
0
        public bool TryLoad(out int value)
        {
            if (this.Name != null)
            {
                this.Value = ItemIndicator.GetIdFromName(this.Name);
            }

            value = this.Value;

            return(this.Value != Unloaded);
        }
예제 #2
0
 public bool AreEqual(ItemIndicator other)
 {
     return(this.Name != null ? this.Name == other.Name : this.Value == other.Value);
 }