public void DeleteRowObject_OptionObjectHelpers_FormObject_Null_RowId_Error()
        {
            FormObject formObject = null;

            OptionObjectHelpers.DeleteRowObject(formObject, "1||1");
            Assert.IsFalse(formObject.IsFieldPresent("1||1"));
        }
        public void DeleteRowObject_OptionObjectHelpers_OptionObject2015_Null_RowId_Error()
        {
            OptionObject2015 optionObject = null;

            OptionObjectHelpers.DeleteRowObject(optionObject, "1||1");
            Assert.IsFalse(optionObject.IsFieldPresent("1||1"));
        }
コード例 #3
0
        /// <summary>
        /// Marks a <see cref="RowObject"/> for deletion.
        /// </summary>
        /// <param name="rowId"></param>
        public void DeleteRowObject(string rowId)
        {
            IFormObject tempFormObject = OptionObjectHelpers.DeleteRowObject(this, rowId);

            this.CurrentRow = tempFormObject.CurrentRow;
            this.OtherRows  = tempFormObject.OtherRows;
        }
        public void DeleteRowObject_OptionObjectHelpers_FormObject_RowObject_Null_Error()
        {
            RowObject  rowObject  = null;
            FormObject formObject = new FormObject();

            OptionObjectHelpers.DeleteRowObject(formObject, rowObject);

            Assert.IsFalse(formObject.IsFieldPresent("1||1"));
        }
        public void DeleteRowObject_OptionObjectHelpers_OptionObject2015_RowObject_Null_Error()
        {
            RowObject        rowObject    = null;
            OptionObject2015 optionObject = new OptionObject2015();

            OptionObjectHelpers.DeleteRowObject(optionObject, rowObject);

            Assert.IsFalse(optionObject.IsFieldPresent("1||1"));
        }
 /// <summary>
 /// Marks a <see cref="RowObject"/> for deletion.
 /// </summary>
 /// <param name="rowId"></param>
 public void DeleteRowObject(string rowId) => _optionObject.Forms = OptionObjectHelpers.DeleteRowObject(_optionObject, rowId).Forms;
 /// <summary>
 /// Marks a <see cref="RowObject"/> for deletion.
 /// </summary>
 /// <param name="rowObject"></param>
 public void DeleteRowObject(RowObject rowObject) => _optionObject.Forms = OptionObjectHelpers.DeleteRowObject(_optionObject, rowObject).Forms;
コード例 #8
0
 /// <summary>
 /// Marks a <see cref="RowObject"/> for deletion.
 /// </summary>
 /// <param name="rowId"></param>
 public void DeleteRowObject(string rowId) => this.Forms = OptionObjectHelpers.DeleteRowObject(this, rowId).Forms;
コード例 #9
0
 /// <summary>
 /// Marks a <see cref="RowObject"/> for deletion.
 /// </summary>
 /// <param name="rowObject"></param>
 public void DeleteRowObject(RowObject rowObject) => this.Forms = OptionObjectHelpers.DeleteRowObject(this, rowObject).Forms;