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

                switch (enu)
                {
                case TopicReferenceSubtype_FieldIndex.Subtype:
                    return(Subtype);

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

                switch (enu)
                {
                case TopicReferenceSubtype_FieldIndex.Subtype:
                    this.Subtype = (Exception?)obj;
                    break;

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

                switch (enu)
                {
                case TopicReferenceSubtype_FieldIndex.Subtype:
                    this.Subtype = ex;
                    break;

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