public CachedCssProviderSerive( ICssProviderService realService,
     ICacheManager cacheManager, ICacheItemExpiration expiration)
 {
     this.realService = realService;
     this.cacheManager = cacheManager;
     this.expiration = expiration;
 }
Esempio n. 2
0
        public void BeforeAll()
        {
            fakeCssProviderService = A.Fake<ICssProviderService>();

            A.CallTo(()=> fakeCssProviderService.GetCss( A<string>.That.IsEqualTo( SITE) )).Returns("abc");
        }
Esempio n. 3
0
 public CssController( ICssProviderService cssProviderServicer )
 {
     this.cssProviderService = cssProviderServicer;
 }
 public ScriptsController(IJavaScriptProviderService javaScriptProviderService,
     ICssProviderService cssProviderService)
 {
     _javaScriptProviderService = javaScriptProviderService;
     _cssProviderService = cssProviderService;
 }