/// <summary> /// Initializes a new instance of the <see cref="BindingList{T}"/> class /// wrapping the specified <see cref="System.ComponentModel.BindingList{T}"/> instance. /// </summary> /// <param name="list"> /// A <see cref="System.ComponentModel.BindingList{T}"/> /// to be wrapped by the <see cref="BindingList{T}"/>. /// </param> public BindingList(SCM.BindingList <T> list) { if (list == null) { throw new ArgumentNullException("list"); } this.list = list; }
/// <summary> /// Initializes a new instance of the <see cref="BindingList{T}"/> class /// with the specified list. /// </summary> /// <param name="list"> /// An <see cref="IList{T}"/> of items /// to be contained in the <see cref="BindingList{T}"/>. /// </param> public BindingList(IList <T> list) { this.list = new SCM.BindingList <T>(list); }
/// <summary> /// Initializes a new instance of the <see cref="BindingList{T}"/> class /// using default values. /// </summary> public BindingList() { this.list = new SCM.BindingList <T>(); }