コード例 #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);
        }
コード例 #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);
        }