public void Init(IBaseGraphableMappingManager mappingMgr, IMssParameterViewer mssParameterViewer) { Debug.Assert(mappingMgr != null); this.mssParameterViewer = mssParameterViewer; this.mappingMgr = mappingMgr; }
public void Init(IBaseGraphableMappingManager mappingMgr, IMssParameterViewer mssParameterViewer) { Debug.Assert(mappingMgr != null); this.mssParameterViewer = mssParameterViewer; this.mappingMgr = mappingMgr; }
/// <summary> /// Initializes this DryMssEventHandler. Other methods in this class should not be called beofre calling /// Init(). /// </summary> /// <param name="dryMssEventOutputPort">Sends unprocessed MssEvents from the host.</param> /// <param name="wetMssEventInputPort">Receives processed MssEvents to be sent back to the host</param> /// <param name="mappingMgr">The MappingManager that will be used by mssMsgProcessor</param> public void Init(IDryMssEventOutputPort dryMssEventOutputPort, IWetMssEventInputPort wetMssEventInputPort, IMappingManager mappingMgr, IMssParameterViewer mssParameters) { this.mssMsgProcessor.Init(mappingMgr, mssParameters); this.wetMssEventInputPort = wetMssEventInputPort; dryMssEventOutputPort.DryMssEventRecieved += new DryMssEventRecievedEventHandler(dryMssEventOutputPort_DryMssEventRecieved); }
/// <summary> /// Initializes this DryMssEventHandler. Other methods in this class should not be called beofre calling /// Init(). /// </summary> /// <param name="dryMssEventOutputPort">Sends unprocessed MssEvents from the host.</param> /// <param name="wetMssEventInputPort">Receives processed MssEvents to be sent back to the host</param> /// <param name="mappingMgr">The MappingManager that will be used by mssMsgProcessor</param> public void Init(IDryMssEventOutputPort dryMssEventOutputPort, IWetMssEventInputPort wetMssEventInputPort, IMappingManager mappingMgr, IMssParameterViewer mssParameters) { this.mssMsgProcessor.Init(mappingMgr, mssParameters); this.wetMssEventInputPort = wetMssEventInputPort; dryMssEventOutputPort.DryMssEventRecieved += new DryMssEventRecievedEventHandler(dryMssEventOutputPort_DryMssEventRecieved); }
public void Init(IHostInfoOutputPort hostInfoOutputPort, IWetMssEventOutputPort wetMssEventOutputPort, IDryMssEventInputPort dryMssEventInputPort, IGeneratorMappingManager generatorMappingMgr, IMssParameterViewer mssParameters) { this.generatorMappingMgr = generatorMappingMgr; this.mssMsgProcessor.Init(generatorMappingMgr, mssParameters); //Adds listener for generator toggle messages. wetMssEventOutputPort.WetMssEventsReceived += new WetMssEventReceivedEventHandler(WetMssEventOutputPort_WetMssEventReceived); this.hostInfoOutputPort = hostInfoOutputPort; hostInfoOutputPort.BeforeProcessingCycleEnd += new ProcessingCycleEndEventHandler(HostInfoOutputPort_BeforeProcessingCycleEnd); hostInfoOutputPort.ProcessingCycleEnd += new ProcessingCycleEndEventHandler(HostInfoOutputPort_ProcessingCycleEnd); this.dryMssEventInputPort = dryMssEventInputPort; }
public void Init(IHostInfoOutputPort hostInfoOutputPort, IWetMssEventOutputPort wetMssEventOutputPort, IDryMssEventInputPort dryMssEventInputPort, IGeneratorMappingManager generatorMappingMgr, IMssParameterViewer mssParameters) { this.generatorMappingMgr = generatorMappingMgr; this.mssMsgProcessor.Init(generatorMappingMgr, mssParameters); //Adds listener for generator toggle messages. wetMssEventOutputPort.WetMssEventsReceived += new WetMssEventReceivedEventHandler(WetMssEventOutputPort_WetMssEventReceived); this.hostInfoOutputPort = hostInfoOutputPort; hostInfoOutputPort.BeforeProcessingCycleEnd += new ProcessingCycleEndEventHandler(HostInfoOutputPort_BeforeProcessingCycleEnd); hostInfoOutputPort.ProcessingCycleEnd += new ProcessingCycleEndEventHandler(HostInfoOutputPort_ProcessingCycleEnd); this.dryMssEventInputPort = dryMssEventInputPort; }
public void Init(IMssParameterViewer paramViewer) { this.paramViewer = paramViewer; }
public void Init(IGeneratorMappingManager genMappingMgr, IMssParameterViewer paramViewer) { this.genMappingMgr = genMappingMgr; this.paramViewer = paramViewer; }
public void Init(IMssParameterViewer paramViewer) { this.paramViewer = paramViewer; }
public void InitOptionallySerializedDependencies(IMssParameterViewer paramViewer) { this.paramViewer = paramViewer; }
public void Init(IGeneratorMappingManager genMappingMgr, IMssParameterViewer paramViewer) { this.genMappingMgr = genMappingMgr; InitOptionallySerializedDependencies(paramViewer); }
public void Init(IGeneratorMappingManager genMappingMgr, IMssParameterViewer paramViewer) { this.genMappingMgr = genMappingMgr; this.paramViewer = paramViewer; }
public void InitOptionallySerializedDependencies(IMssParameterViewer paramViewer) { this.paramViewer = paramViewer; }
public void Init(IGeneratorMappingManager genMappingMgr, IMssParameterViewer paramViewer) { this.genMappingMgr = genMappingMgr; InitOptionallySerializedDependencies(paramViewer); }