public BundleManifestLoader(ILoader innerLoader, IPlatformProvider platformProvider, string baseUri)
        {
            _innerLoader = innerLoader;

            var platformName = platformProvider.GetPlatformName();

            _manifestUri = new Uri($"{baseUri}/{platformName}/{platformName}");
        }
Exemplo n.º 2
0
 private void SetupPlatformProvider(string platformName)
 {
     _platformProvider.GetPlatformName()
     .Returns(platformName);
 }
Exemplo n.º 3
0
 public BundleCacheLoader(ILoader innerLoader, IPlatformProvider platformProvider, string baseUri)
     : base(innerLoader)
 {
     _baseUri = $"{baseUri}/{platformProvider.GetPlatformName()}/";
 }