Beispiel #1
0
            public override object?GetNthMask(int index)
            {
                PackageDataLocation_FieldIndex enu = (PackageDataLocation_FieldIndex)index;

                switch (enu)
                {
                case PackageDataLocation_FieldIndex.Location:
                    return(Location);

                default:
                    return(base.GetNthMask(index));
                }
            }
Beispiel #2
0
            public override void SetNthMask(int index, object obj)
            {
                PackageDataLocation_FieldIndex enu = (PackageDataLocation_FieldIndex)index;

                switch (enu)
                {
                case PackageDataLocation_FieldIndex.Location:
                    this.Location = (MaskItem <Exception?, LocationTargetRadius.ErrorMask?>?)obj;
                    break;

                default:
                    base.SetNthMask(index, obj);
                    break;
                }
            }
Beispiel #3
0
            public override void SetNthException(int index, Exception ex)
            {
                PackageDataLocation_FieldIndex enu = (PackageDataLocation_FieldIndex)index;

                switch (enu)
                {
                case PackageDataLocation_FieldIndex.Location:
                    this.Location = new MaskItem <Exception?, LocationTargetRadius.ErrorMask?>(ex, null);
                    break;

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