Example #1
0
 public ExecutionCompleted()
 {
     Exceptions      = new List <Exception>();
     TimeCompleted   = DateTime.MinValue;
     _InstructionSet = null;
     CachePostMortem = false;
 }
 public AssignInstructionSet(STEM.Surge._InstructionSet iSet, string deploymentManagerIP, string deploymentControllerID, string branchIP, string sandboxID, string sandboxAppConfigXml, string alternateAssemblyStore)
 {
     ExecutionCompleted     = DateTime.MinValue;
     InitiationSource       = iSet.InitiationSource;
     DeploymentManagerIP    = deploymentManagerIP;
     DeploymentControllerID = deploymentControllerID;
     BranchIP               = branchIP;
     IsStatic               = false;
     LastWriteTime          = DateTime.UtcNow;
     InstructionSet         = iSet;
     InstructionSetID       = iSet.ID;
     SandboxID              = sandboxID;
     SandboxAppConfigXml    = sandboxAppConfigXml;
     AlternateAssemblyStore = alternateAssemblyStore;
     ContinuousExecution    = false;
 }
Example #3
0
        public ExecutionCompleted(_InstructionSet iSet)
            : base(iSet)
        {
            if (iSet == null)
            {
                throw new ArgumentNullException(nameof(iSet));
            }

            ProcessName      = iSet.ProcessName;
            InitiationSource = iSet.InitiationSource;
            TimeCompleted    = iSet.Completed;

            Exceptions = new List <Exception>();

            foreach (Instruction i in iSet.Instructions)
            {
                Exceptions.AddRange(i.Exceptions);
            }

            _InstructionSet = iSet;
            CachePostMortem = iSet.CachePostMortem;
        }