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

                switch (enu)
                {
                case LocationCell_FieldIndex.Link:
                    return(Link);

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

                switch (enu)
                {
                case LocationCell_FieldIndex.Link:
                    this.Link = (Exception?)obj;
                    break;

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

                switch (enu)
                {
                case LocationCell_FieldIndex.Link:
                    this.Link = ex;
                    break;

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