private ServiceParser(string serviceText)
 {
     this.factoryAttributeValue = string.Empty;
     this.serviceAttributeValue = string.Empty;
     this.serviceText = serviceText;
     this.buildProvider = new ServiceBuildProvider();
 }
Exemplo n.º 2
0
 private ServiceParser(string serviceText)
 {
     this.factoryAttributeValue = string.Empty;
     this.serviceAttributeValue = string.Empty;
     this.serviceText           = serviceText;
     this.buildProvider         = new ServiceBuildProvider();
 }
        /// <summary>
        /// The Contructor needs the path to the file that it will parse and a reference to
        /// the build provider that we are using. This is necessary because there are things that
        /// need to be set on the build provider directly as we are parsing...
        /// </summary>
        internal ServiceParser(string virtualPath, ServiceBuildProvider buildProvider)
        {
            if (DiagnosticUtility.ShouldTraceInformation)
            {
                TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.WebHostCompilation, SR.TraceCodeWebHostCompilation,
                                        new StringTraceRecord("VirtualPath", virtualPath), this, (Exception)null);
            }

            this.virtualPath   = virtualPath;
            this.buildProvider = buildProvider;
        }
 internal ServiceParser(string virtualPath, ServiceBuildProvider buildProvider)
 {
     this.factoryAttributeValue = string.Empty;
     this.serviceAttributeValue = string.Empty;
     if (DiagnosticUtility.ShouldTraceInformation)
     {
         TraceUtility.TraceEvent(TraceEventType.Information, 0x90004, System.ServiceModel.Activation.SR.TraceCodeWebHostCompilation, new StringTraceRecord("VirtualPath", virtualPath), this, null);
     }
     this.virtualPath = virtualPath;
     this.buildProvider = buildProvider;
 }
Exemplo n.º 5
0
 internal ServiceParser(string virtualPath, ServiceBuildProvider buildProvider)
 {
     this.factoryAttributeValue = string.Empty;
     this.serviceAttributeValue = string.Empty;
     if (DiagnosticUtility.ShouldTraceInformation)
     {
         TraceUtility.TraceEvent(TraceEventType.Information, 0x90004, System.ServiceModel.Activation.SR.TraceCodeWebHostCompilation, new StringTraceRecord("VirtualPath", virtualPath), this, null);
     }
     this.virtualPath   = virtualPath;
     this.buildProvider = buildProvider;
 }
 /// <summary>
 /// Constructor that is used when the whole svc file content is provided. This is the case
 /// when the COM+ Admin tool calls into it.
 /// </summary>
 ServiceParser(string serviceText)
 {
     this.serviceText   = serviceText;
     this.buildProvider = new ServiceBuildProvider();
 }
Exemplo n.º 7
0
 /// <summary>
 /// Constructor that is used when the whole svc file content is provided. This is the case
 /// when the COM+ Admin tool calls into it.
 /// </summary>
 ServiceParser(string serviceText)
 {
     this.serviceText = serviceText;
     this.buildProvider = new ServiceBuildProvider();
 }
Exemplo n.º 8
0
        /// <summary>
        /// The Contructor needs the path to the file that it will parse and a reference to
        /// the build provider that we are using. This is necessary because there are things that 
        /// need to be set on the build provider directly as we are parsing...
        /// </summary>
        internal ServiceParser(string virtualPath, ServiceBuildProvider buildProvider)
        {
            if (DiagnosticUtility.ShouldTraceInformation)
            {
                TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.WebHostCompilation, SR.TraceCodeWebHostCompilation,
                    new StringTraceRecord("VirtualPath", virtualPath), this, (Exception)null);
            }

            this.virtualPath = virtualPath;
            this.buildProvider = buildProvider;
        }