示例#1
0
 AddPath(
     Bam.Core.Module module,
     Bam.Core.PathKey key)
 {
     this.DependsOn(module);
     this.Paths.Add(module, key);
 }
示例#2
0
 AddFile(
     Bam.Core.Module module,
     Bam.Core.PathKey key)
 {
     this.DependsOn(module);
     this.Files.Add(module, key);
 }
示例#3
0
        SourceFolder <DependentModule>(
            Bam.Core.PathKey key) where DependentModule : Bam.Core.Module, new()
        {
            var dependent = Bam.Core.Graph.Instance.FindReferencedModule <DependentModule>();

            this.ScriptModule.AddPath(dependent, key);
        }
示例#4
0
        SourceFolder <DependentModule>(
            Bam.Core.PathKey key) where DependentModule : Bam.Core.Module, new()
        {
            var dependent = Bam.Core.Graph.Instance.FindReferencedModule <DependentModule>();

            this.DependsOn(dependent);
            this.SourceFolderPath = dependent.GeneratedPaths[key];
        }
示例#5
0
 AddPrerequisite(
     Bam.Core.Module module,
     Bam.Core.PathKey key)
 {
     if (!this.Prequisities.ContainsKey(module))
     {
         this.Prequisities.Add(module, key);
     }
 }
示例#6
0
        Include <DependentModule>(
            Bam.Core.PathKey key) where DependentModule : Bam.Core.Module, new()
        {
            var dependent = Bam.Core.Graph.Instance.FindReferencedModule <DependentModule>();

            if (null == dependent)
            {
                return;
            }
            this.ScriptModule.AddFile(dependent, key);
        }