public override object?GetNthMask(int index) { ActionRecord_FieldIndex enu = (ActionRecord_FieldIndex)index; switch (enu) { case ActionRecord_FieldIndex.Color: return(Color); default: return(base.GetNthMask(index)); } }
public override void SetNthMask(int index, object obj) { ActionRecord_FieldIndex enu = (ActionRecord_FieldIndex)index; switch (enu) { case ActionRecord_FieldIndex.Color: this.Color = (Exception?)obj; break; default: base.SetNthMask(index, obj); break; } }
public override void SetNthException(int index, Exception ex) { ActionRecord_FieldIndex enu = (ActionRecord_FieldIndex)index; switch (enu) { case ActionRecord_FieldIndex.Color: this.Color = ex; break; default: base.SetNthException(index, ex); break; } }