public void RegisterWithExecutionContext(IQHsmExecutionContext executionContext) { if (_ExecutionContext != null) { throw new InvalidOperationException("ExecutionContext must only be assigned once against an Hsm. Multiple ExecutionContext against one Hsm is not currently supported."); } _ExecutionContext = executionContext; RegisterWithLifeCycleManager(executionContext.LifeCycleManager); // only makes sense to call this if using an ExecutionContext - since it provides a GetService () method. LocateServicesUsingExecutionContext(); }
public SampleWatch(string id, string groupId, IQHsmExecutionContext executionContext) : base(id, groupId, executionContext) { CreateStateFields(); }
public Valve(string id, string groupId, IQHsmExecutionContext executionContext) : base(id, groupId, executionContext) { CreateStateFields(); }
public Flint(string id, IQHsmExecutionContext executionContext) : base(id, executionContext) { CreateStateFields(); }
public LQHsm(string id, IQHsmExecutionContext executionContext) { _UniqueName = id; RegisterWithExecutionContext(executionContext); }
public void RegisterWithExecutionContext(IQHsmExecutionContext executionContext) { if (_ExecutionContext != null) { throw new InvalidOperationException ("ExecutionContext must only be assigned once against an Hsm. Multiple ExecutionContext against one Hsm is not currently supported."); } _ExecutionContext = executionContext; RegisterWithLifeCycleManager (executionContext.LifeCycleManager); // only makes sense to call this if using an ExecutionContext - since it provides a GetService () method. LocateServicesUsingExecutionContext (); }
public LQHsm(string id, string groupId, IQHsmExecutionContext executionContext) { _UniqueName = id; _GroupId = groupId; RegisterWithExecutionContext (executionContext); }
public FuelMixture(string id, IQHsmExecutionContext executionContext) : base(id, executionContext) { CreateStateFields(); }