예제 #1
0
 /// <summary>
 /// Initializes a new instance of the CovariantListAdapter`2 class.
 /// </summary>
 /// <param name="inner"> The inner list instance. </param>
 public CovariantListAdapter(IXmlObjectCollection <TFromDerived> inner)
 {
     this.inner = inner;
 }
 /// <summary>
 /// Initializes a new instance of the ContravariantListAdapter`2 class.
 /// </summary>
 /// <param name="inner"> The inner list instance. </param>
 public ContravariantListAdapter(IXmlObjectCollection <TFromBase> inner)
 {
     this.inner = inner;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the XmlObject class.
 /// </summary>
 protected XmlObject()
 {
     this.items = new XmlObjectCollection<IXmlObject>(this);
 }