示例#1
0
#pragma warning disable 1591
        public override void SetValueOrMissing(TRowKey rowKey, TColKey colKey, TValue value)
#pragma warning restore 1591
        {
            //This is needed because rows and columns are are OK in the parent may not be OK here
            Helper.CheckCondition(ContainsRowAndColKeys(rowKey, colKey), Properties.Resource.ExpectedRowKeyAndColKeyToBeInMatrix, rowKey, colKey);
            ParentMatrix.SetValueOrMissing(rowKey, colKey, value);
        }
示例#2
0
#pragma warning disable 1591
        public override void SetValueOrMissing(int rowIndex, int colIndex, TValue value)
#pragma warning restore 1591
        {
            ParentMatrix.SetValueOrMissing(rowIndex, IndexOfParentCol[colIndex], value);
        }
示例#3
0
#pragma warning disable 1591
        public override void SetValueOrMissing(int rowIndex, int colIndex, TValueView value)
#pragma warning restore 1591
        {
            ParentMatrix.SetValueOrMissing(rowIndex, colIndex, ViewValueOrMissingToParentValueOrMissing(value));
        }
示例#4
0
#pragma warning disable 1591
        public override void SetValueOrMissing(TRowKey rowKey, TColKey colKey, TValueView value)
#pragma warning restore 1591
        {
            ParentMatrix.SetValueOrMissing(rowKey, colKey, ViewValueOrMissingToParentValueOrMissing(value));
        }
示例#5
0
#pragma warning disable 1591
        public override void SetValueOrMissing(int rowIndex, int colIndex, TValue value)
#pragma warning restore 1591
        {
            //IndexOfParentRowKey will raise an error if the indexs are invalid, so we don't need to double check
            ParentMatrix.SetValueOrMissing(IndexOfParentRowKey[rowIndex], IndexOfParentColKey[colIndex], value);
        }
示例#6
0
#pragma warning disable 1591
        public override void SetValueOrMissing(TRowKey rowKey, TColKey colKey, TValue value)
#pragma warning restore 1591
        {
            Helper.CheckCondition(ContainsRowAndColKeys(rowKey, colKey), "Invalid rowKey or colKey");    //This is needed because rows and columns are are OK in the parent may not be OK here
            ParentMatrix.SetValueOrMissing(rowKey, colKey, value);
        }
示例#7
0
#pragma warning disable 1591
        public override void SetValueOrMissing(TRowKey rowKey, TColKey colKey, TValue value)
#pragma warning restore 1591
        {
            ParentMatrix.SetValueOrMissing(colKey, rowKey, value);
        }