Пример #1
0
            public override object?GetNthMask(int index)
            {
                PackageTargetSelf_FieldIndex enu = (PackageTargetSelf_FieldIndex)index;

                switch (enu)
                {
                case PackageTargetSelf_FieldIndex.Data:
                    return(Data);

                default:
                    return(base.GetNthMask(index));
                }
            }
Пример #2
0
            public override void SetNthMask(int index, object obj)
            {
                PackageTargetSelf_FieldIndex enu = (PackageTargetSelf_FieldIndex)index;

                switch (enu)
                {
                case PackageTargetSelf_FieldIndex.Data:
                    this.Data = (Exception?)obj;
                    break;

                default:
                    base.SetNthMask(index, obj);
                    break;
                }
            }
Пример #3
0
            public override void SetNthException(int index, Exception ex)
            {
                PackageTargetSelf_FieldIndex enu = (PackageTargetSelf_FieldIndex)index;

                switch (enu)
                {
                case PackageTargetSelf_FieldIndex.Data:
                    this.Data = ex;
                    break;

                default:
                    base.SetNthException(index, ex);
                    break;
                }
            }