Example #1
0
        internal PrimaryResourceIdentifierCollectionBuilder(IDocumentWriter parentBuilder, IServiceModel serviceModel, DomDocument domDocument, IEnumerable <TResource> clrResourceCollection)
            : base(serviceModel, domDocument.AddDataCollection(), clrResourceCollection)
        {
            Contract.Requires(parentBuilder != null);

            this.Builder       = this;
            this.ParentBuilder = parentBuilder;
        }
Example #2
0
 // INTERNAL CONSTRUCTORS ////////////////////////////////////////////
 #region Constructors
 internal PrimaryResourceCollectionBuilder(DocumentBuilder parentBuilder, DomDocument domDocument, Type clrResourceType, IEnumerable <object> clrResourceCollection)
     : base(parentBuilder, domDocument.AddDataCollection(), clrResourceType, clrResourceCollection)
 {
     this.Builder = this;
 }