コード例 #1
0
            /// <summary>
            /// Initializes a new instance of the <see cref="Row"/> class.
            /// </summary>
            /// <param name="table">The <see cref="Table"/> to which this <see cref="Row"/> belongs.</param>
            public Row(Table table)
            {
                Util.ThrowIfParameterNull(table, "table");

                _table          = table;
                _props          = new PropDictionary(this);
                _props.Changed += delegate { _table.OnChanged(EventArgs.Empty); };
            }
コード例 #2
0
ファイル: Db.cs プロジェクト: huizh/xenadmin
            /// <summary>
            /// Initializes a new instance of the <see cref="Row"/> class.
            /// </summary>
            /// <param name="table">The <see cref="Table"/> to which this <see cref="Row"/> belongs.</param>
            public Row(Table table)
            {
                Util.ThrowIfParameterNull(table, "table");

                _table = table;
                _props = new PropDictionary(this);
                _props.Changed += delegate { _table.OnChanged(EventArgs.Empty); };
            }