protected UnprocessableElementProcessor(IResourceFactory factory, 
     IRelativePathProducer relativePathProducer, 
     IResourcesStack resourcesStack, 
     Uri initialHostUri)
     : base(factory, relativePathProducer, resourcesStack, initialHostUri)
 {
 }
 protected BasePageElementProcessor(IResourceFactory factory, IRelativePathProducer relativePathProducer, IResourcesStack resourcesStack, Uri initialhostUri)
 {
     Factory = factory;
     ResourcesStack = resourcesStack;
     RelativePathProducer = relativePathProducer;
     InitialDomain = initialhostUri;
 }
Example #3
0
 public ResourceFactory(IResourceLoader resourceLoader, 
     IFileSaver fileSaver,
     //NMB easily change place
     IResourceLocationManager resourceLocationManagerForUnprocessableResources, 
     IResourceLocationManager resourceLocationManagerForPages, 
     //NMB easily change place 2
     IRelativePathProducer relativePathProducerForUnprocessableResources, 
     IRelativePathProducer pageRelativePathProducerForPages, 
     Uri initialHostUri, 
     bool loadOtherOrigins, 
     IResourcesStack resourcesStack)
 {
     _initialHostUri = initialHostUri;
     _resourceLoader = resourceLoader;
     _fileSaver = fileSaver;
     _resourceLocationManagerForUnprocessableResources = resourceLocationManagerForUnprocessableResources;
     _resourceLocationManagerForPages = resourceLocationManagerForPages;
     _relativePathProducerForUnprocessableResources = relativePathProducerForUnprocessableResources;
     _pageRelativePathProducerForPages = pageRelativePathProducerForPages;
     _loadOtherOrigins = loadOtherOrigins;
     _resourcesStack = resourcesStack;
 }
Example #4
0
 public CssLinksProcessor(IResourceFactory factory, IRelativePathProducer relativePathProducer, IResourcesStack resourcesStack, Uri initialHostUri)
     : base(factory, relativePathProducer, resourcesStack, initialHostUri)
 {
 }
Example #5
0
 public ATagLinksProcessor(IResourceFactory factory, IRelativePathProducer relativePathProducer, IResourcesStack resourcesStack, int deep, Uri initialHostUri, bool loadOtherOrigins) 
     : base(factory, relativePathProducer, resourcesStack, initialHostUri)
 {
     _loadOtherOrigins = loadOtherOrigins;
     Deep = deep;
 }
 public void SetUp()
 {
     _resourceLocatorMock = new Mock<IResourceLocationManager>();
     _relativePathProducer = new RelativePathProducer(_resourceLocatorMock.Object);
 }