コード例 #1
0
            public override object?GetNthMask(int index)
            {
                ScriptFloatProperty_FieldIndex enu = (ScriptFloatProperty_FieldIndex)index;

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

                default:
                    return(base.GetNthMask(index));
                }
            }
コード例 #2
0
            public override void SetNthMask(int index, object obj)
            {
                ScriptFloatProperty_FieldIndex enu = (ScriptFloatProperty_FieldIndex)index;

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

                default:
                    base.SetNthMask(index, obj);
                    break;
                }
            }
コード例 #3
0
            public override void SetNthException(int index, Exception ex)
            {
                ScriptFloatProperty_FieldIndex enu = (ScriptFloatProperty_FieldIndex)index;

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

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