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