コード例 #1
0
            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));
                }
            }
コード例 #2
0
            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;
                }
            }
コード例 #3
0
            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;
                }
            }