public CellLifeIdentity(HostLifeIdentity host, string solutionName, string cellName, string uniqueCellInstanceName)
 {
     Host = host;
     SolutionName = solutionName;
     CellName = cellName;
     UniqueCellInstanceName = uniqueCellInstanceName;
 }
        public HostContext(IHostObserver hostObserver, IDeploymentReader deploymentReader)
        {
            Observer = hostObserver;
            DeploymentReader = deploymentReader;

            _identity = new HostLifeIdentity(Environment.MachineName, Guid.NewGuid().ToString("N"));
        }
Пример #3
0
 public CellLifeIdentity(HostLifeIdentity host, string solutionName, string cellName, string uniqueCellInstanceName)
 {
     Host                   = host;
     SolutionName           = solutionName;
     CellName               = cellName;
     UniqueCellInstanceName = uniqueCellInstanceName;
 }
        public HostContext(IDeploymentReader deploymentReader, IHostObserver observer)
        {
            Observer = observer;
            DeploymentReader = deploymentReader;

            // TODO: Replace GUID with global blob counter
            _identity = new HostLifeIdentity(Environment.MachineName, Guid.NewGuid().ToString("N"));
        }