internal PrimaryResourceIdentifierBuilder(IDocumentWriter parentBuilder, IServiceModel serviceModel, DomDocument domDocument, TResource clrResource)
            : base(serviceModel, domDocument.AddData(), clrResource)
        {
            Contract.Requires(parentBuilder != null);

            this.Builder       = this;
            this.ParentBuilder = parentBuilder;
        }
Exemple #2
0
 // INTERNAL CONSTRUCTORS ////////////////////////////////////////////
 #region Constructors
 internal PrimaryResourceBuilder(DocumentBuilder parentBuilder, DomDocument domDocument, Type clrResourceType, object clrResource)
     : base(parentBuilder, domDocument.AddData(), clrResourceType, clrResource)
 {
     this.Builder = this;
 }