/// <summary> /// Override the default ExecutionPolicy name and version, ApplicationContext, and XMLFactsApplicationStage if an override instruction was set by the InstructionLoaderPolicy /// </summary> private void ApplyOverrides() { // Override the Execution Policy if an instruction to override it was received during execution of the InstructionLoaderPolicy if (!String.IsNullOrEmpty(_BREPipelineMetaInstructionCollection.ExecutionPolicyOverride)) { TraceManager.PipelineComponent.TraceInfo("{0} - Overriding the Execution Policy to {1}", callToken, _BREPipelineMetaInstructionCollection.ExecutionPolicyOverride); executionPolicy = _BREPipelineMetaInstructionCollection.ExecutionPolicyOverride; } // Override the Execution Policy version if an instruction to override it was received during execution of the InstructionLoaderPolicy if (!String.IsNullOrEmpty(_BREPipelineMetaInstructionCollection.ExecutionPolicyVersionOverride)) { TraceManager.PipelineComponent.TraceInfo("{0} - Overriding the Execution Policy version to {1}", callToken, _BREPipelineMetaInstructionCollection.ExecutionPolicyVersionOverride); executionPolicyVersion = _BREPipelineMetaInstructionCollection.ExecutionPolicyVersionOverride; } // Override the Application Context if an instruction to override it was received during execution of the InstructionLoaderPolicy if (!String.IsNullOrEmpty(_BREPipelineMetaInstructionCollection.ApplicationContextOverride)) { TraceManager.PipelineComponent.TraceInfo("{0} - Overriding the Application Context to {1}", callToken, _BREPipelineMetaInstructionCollection.ApplicationContextOverride); applicationContext = _BREPipelineMetaInstructionCollection.ApplicationContextOverride; } // Override the XML Facts application stage if an instruction to override it was received during execution of the InstructionLoaderPolicy if (_BREPipelineMetaInstructionCollection.XmlFactsApplicationStageOverride != _XMLFactsApplicationStage) { TraceManager.PipelineComponent.TraceInfo("{0} - Overriding the XML Facts Application Stage to {1}", callToken, _BREPipelineMetaInstructionCollection.XmlFactsApplicationStageOverride); _XMLFactsApplicationStage = _BREPipelineMetaInstructionCollection.XmlFactsApplicationStageOverride; } }
public BREPipelineMetaInstructionCollection(XMLFactsApplicationStageEnum xmlFactsApplicationStageOverride, InstructionExecutionOrderEnum instructionExecutionOrder, Dictionary <int, string> partNames, string callToken) { this.xmlFactsApplicationStageOverride = xmlFactsApplicationStageOverride; this.instructionExecutionOrder = instructionExecutionOrder; this.partNames = partNames; this.callToken = callToken; }
public ApplyTypedXMLDocumentInstruction(TypedXmlDocument document, XMLFactsApplicationStageEnum xmlFactsApplicationStage, string callToken) { this.document = document; this.xmlFactsApplicationStage = xmlFactsApplicationStage; this.callToken = callToken; }
public TypedXMLDocumentMetaInstructions(TypedXmlDocument doc, XMLFactsApplicationStageEnum xmlFactsApplicationStage) { this.doc = doc; this.xmlFactsApplicationStage = xmlFactsApplicationStage; }