/// <summary> /// Gets the mapped build script for the given source set /// </summary> /// <param name="sourceSet">The source set to look a build script for</param> /// <returns>Returns the build script mapped to the given source set type</returns> public IBuildScript GetBuildScriptFor(ISourceSet sourceSet) { return buildScriptsForSourceSets[sourceSet.Type]; }
/// <summary> /// Constructs the dependency object /// </summary> /// <param name="fingerprintFactory">The interface to create new fingerprint instances</param> /// <param name="sourceSet">The source set on which we are depending on</param> /// <param name="exclusions">Exclusion function, if returns true for a file name, it won't be taken into account as a dependency</param> public SourceSetDependencies(ISourceSetFingerprintFactory fingerprintFactory, ISourceSet sourceSet, Func <string, bool> exclusions = null) { this.fingerprintFactory = fingerprintFactory; this.sourceSet = sourceSet; this.exclusions = exclusions; }
/// <summary> /// Checks if there is a build script mapped for the given source set /// </summary> /// <param name="sourceSet">The source set to look a build script for</param> /// <returns>Returns <c>true</c> if there is a build script available</returns> public bool HasBuildScriptFor(ISourceSet sourceSet) { return buildScriptsForSourceSets.ContainsKey(sourceSet.Type); }
protected FilteredSourceSet(ISourceSet baseSourceSet) { this.baseSourceSet = baseSourceSet; }
/// <summary> /// Constructs the dependency object /// </summary> /// <param name="fingerprintFactory">The interface to create new fingerprint instances</param> /// <param name="sourceSet">The source set on which we are depending on</param> /// <param name="exclusions">Exclusion function, if returns true for a file name, it won't be taken into account as a dependency</param> public SourceSetStructureDependency(ISourceSetFingerprintFactory fingerprintFactory, ISourceSet sourceSet, Func<string, bool> exclusions = null) { this.fingerprintFactory = fingerprintFactory; this.sourceSet = sourceSet; this.exclusions = exclusions; }
public FilterImpl(ISourceSet baseSourceSet, IFileSystemDirectory sourceSetRoot, IFileSystemDirectory suiteRoot) : base(baseSourceSet) { this.sourceSetRoot = sourceSetRoot; this.suiteRoot = suiteRoot; }
/// <summary> /// Gets the mapped build script for the given source set /// </summary> /// <param name="sourceSet">The source set to look a build script for</param> /// <returns>Returns the build script mapped to the given source set type</returns> public IBuildScript GetBuildScriptFor(ISourceSet sourceSet) { return(buildScriptsForSourceSets[sourceSet.Type]); }
/// <summary> /// Checks if there is a build script mapped for the given source set /// </summary> /// <param name="sourceSet">The source set to look a build script for</param> /// <returns>Returns <c>true</c> if there is a build script available</returns> public bool HasBuildScriptFor(ISourceSet sourceSet) { return(buildScriptsForSourceSets.ContainsKey(sourceSet.Type)); }