Exemplo n.º 1
0
        public void SetUp()
        {
            using (var container = AutofacModule.Configure())
            {
                _scope = container.BeginLifetimeScope();

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

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

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

                _newStoryService = _scope.Resolve <INewStoryService>();
            }
        }
Exemplo n.º 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
            };
        }