예제 #1
0
        public void SetUp()
        {
            using (var container = AutofacModule.Configure())
            {
                _scope = container.BeginLifetimeScope();

                _importMethodHelper = _scope.Resolve <IImportMethodHelper>();
            }
        }
예제 #2
0
        public void SetUp()
        {
            using (var container = AutofacModule.Configure())
            {
                _scope = container.BeginLifetimeScope();

                _xmlFeedProvider = _scope.Resolve <IXmlFeedProvider>();
            }
        }
예제 #3
0
        public void SetUp()
        {
            xmlTestFile = XmlFileBuilder.FileBuilder();
            using (var container = AutofacModule.Configure())
            {
                _scope = container.BeginLifetimeScope();

                _xmlFtpDataHandler = _scope.Resolve <IXmlFtpDataHandler>();
            }
        }
예제 #4
0
        public void SetUp()
        {
            xmlTestFile = XmlFileBuilder.FileBuilder();
            using (var container = AutofacModule.Configure())
            {
                _scope = container.BeginLifetimeScope();

                _newStoryService = _scope.Resolve <INewStoryService>();
            }
        }
예제 #5
0
        public void SetUp()
        {
            using (var container = AutofacModule.Configure())
            {
                _scope = container.BeginLifetimeScope();

                _definitionHandler = _scope.Resolve <IDefinitionHandler>();
                _xmlFeedService    = _scope.Resolve <IXmlFeedService>();
                _urlDefinition     = _scope.Resolve <IUrlDefinition>();
            }

            parameterArray = new List <object>
            {
                _xmlFeedService
            };
        }