AddPath( Bam.Core.Module module, Bam.Core.PathKey key) { this.DependsOn(module); this.Paths.Add(module, key); }
AddFile( Bam.Core.Module module, Bam.Core.PathKey key) { this.DependsOn(module); this.Files.Add(module, key); }
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); }
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]; }
AddPrerequisite( Bam.Core.Module module, Bam.Core.PathKey key) { if (!this.Prequisities.ContainsKey(module)) { this.Prequisities.Add(module, key); } }
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); }