Ejemplo n.º 1
0
        public FixInitiatorHostService GetDefaultFixInitiatorHostService()
        {
            // build up whatever from the config file
            // return the actual FixInitiatorHostService

            var fixInitiatorHostService = new FixInitiatorHostService();

            fixInitiatorHostService.InitializeSelf_Stub();
            return(fixInitiatorHostService);
        }
Ejemplo n.º 2
0
        public FixInitiatorHostService GetFixInitiatorHostService()
        {
            // build up whatever from the config file
            // return the actual FixInitiatorHostService

            var initiator       = this.BuildInitiatorFromConfigFile();
            var initatorControl = new InitiatorControl(initiator);

            var fixInitiatorHostService = new FixInitiatorHostService();

            fixInitiatorHostService.Add(initatorControl);

            return(fixInitiatorHostService);
        }