Esempio n. 1
0
 public StubAsset(string fullPath = "~/asset.js", string content = "")
 {
     Hash = new byte[] {1};
     CreateStream = () => content.AsStream();
     SourceFile = new StubFile { FullPath = fullPath };
     References = new List<AssetReference>();
 }
Esempio n. 2
0
 public StubAsset(string fullPath = "~/asset.js", string content = "")
 {
     Hash         = new byte[] { 1 };
     CreateStream = () => content.AsStream();
     SourceFile   = new StubFile {
         FullPath = fullPath
     };
     References = new List <AssetReference>();
 }