Inheritance: IReferenceBuilder
コード例 #1
0
 public ReferenceBuilder_with_modules()
 {
     storage = IsolatedStorageFile.GetUserStoreForDomain();
     // 'b/4.js' <- 'a/1.js' <- 'a/3.js' <- 'b/2.js'
     builder = new ReferenceBuilder(
         new ModuleContainer(new[]
         {
             new Module(
                 "a",
                 new[]
                 {
                     CreateScript("1", "a", "b/4.js"),
                     CreateScript("2", "a", "a/3.js"),
                     CreateScript("3", "a", "a/1.js")
                 },
                 new [] { "b" },
                 null
             ),
             new Module(
                 "b",
                 new[]
                 {
                     CreateScript("4", "b")
                 },
                 new string[0],
                 null
             )
         }, storage, tw => null)
     );
 }
コード例 #2
0
 public ReferenceBuilder_with_modules()
 {
     storage = IsolatedStorageFile.GetUserStoreForDomain();
     // 'b/4.js' <- 'a/1.js' <- 'a/3.js' <- 'b/2.js'
     builder = new ReferenceBuilder(
         new ModuleContainer(new[]
     {
         new Module(
             "a",
             new[]
         {
             CreateScript("1", "a", "b/4.js"),
             CreateScript("2", "a", "a/3.js"),
             CreateScript("3", "a", "a/1.js")
         },
             new [] { "b" },
             null
             ),
         new Module(
             "b",
             new[]
         {
             CreateScript("4", "b")
         },
             new string[0],
             null
             )
     }, storage, tw => null)
         );
 }