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 }; }
public UrlDefinition(IXmlFeedService xmlFeedService) { _xmlFeedService = xmlFeedService; }