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