Example #1
0
 public AssetCombinationBuildingActivator(AssetGraph graph, IAssetCombinationCache cache, IAssetFileGraph fileGraph, ICombinationPolicyCache combinations)
 {
     _graph        = graph;
     _cache        = cache;
     _fileGraph    = fileGraph;
     _combinations = combinations;
 }
 public AssetCombinationBuildingActivator(IContainerFacility container, AssetGraph graph, IAssetCombinationCache cache, IAssetFileGraph fileGraph)
 {
     _container = container;
     _graph = graph;
     _cache = cache;
     _fileGraph = fileGraph;
 }
 public AssetCombinationBuildingActivator(AssetGraph graph, IAssetCombinationCache cache, IAssetFileGraph fileGraph, ICombinationPolicyCache combinations)
 {
     _graph = graph;
     _cache = cache;
     _fileGraph = fileGraph;
     _combinations = combinations;
 }
 public ContentPlanner(IAssetCombinationCache combinations, IAssetFileGraph fileGraph,
                       ITransformerPolicyLibrary library)
 {
     _combinations = combinations;
     _fileGraph = fileGraph;
     _library = library;
 }
 public ContentPlanner(IAssetCombinationCache combinations, IAssetFileGraph fileGraph,
                       ITransformerPolicyLibrary library)
 {
     _combinations = combinations;
     _fileGraph    = fileGraph;
     _library      = library;
 }
 public ContentWriter(IAssetFileGraph fileGraph, IContentPlanCache cache, IContentPipeline contentPipeline,
                      IOutputWriter writer)
 {
     _fileGraph       = fileGraph;
     _cache           = cache;
     _contentPipeline = contentPipeline;
     _writer          = writer;
 }
 public ContentWriter(IAssetFileGraph fileGraph, IContentPlanCache cache, IContentPipeline contentPipeline,
                      IOutputWriter writer)
 {
     _fileGraph = fileGraph;
     _cache = cache;
     _contentPipeline = contentPipeline;
     _writer = writer;
 }
Example #8
0
 protected override void beforeEach()
 {
     _assetGraph     = MockFor <AssetGraph>();
     _precompiler    = MockFor <IAssetPrecompiler>();
     _assetFileGraph = MockFor <IAssetFileGraph>();
     _precompiler
     .Expect(x => x.Precompile(Arg <IAssetFileGraph> .Is.Same(_assetFileGraph), Arg <IAssetRegistration> .Is.Same(_assetGraph)))
     .Callback <IAssetFileGraph, IAssetRegistration>((x, y) => _result = true);
     _log = MockFor <IPackageLog>();
     Services.Inject <IEnumerable <IAssetPrecompiler> >(new[] { _precompiler });
 }
 public AssetRequirements(IAssetDependencyFinder finder, IAssetFileGraph fileGraph)
 {
     _finder = finder;
     _fileGraph = fileGraph;
 }
 public void Apply(IPackageLog log, IAssetFileGraph fileGraph, AssetGraph graph)
 {
     graph.ForEachSetName(WarmUpSet);
 }
 public AssetFileWatcher(IAssetFileGraph fileGraph, IAssetFileChangeListener listener, AssetFileMonitoringSettings settings)
 {
     _fileGraph = fileGraph;
     _listener = listener;
     _settings = settings;
 }
        public SpecificationGraph(IAssetFileGraph pipeline)
        {
            pipeline.AllPackages.Where(IsSpecPackage).Each(AddSpecs);

            _packages.Each(x => x.ApplyHelpers());
        }
 public BasicAssetDiagnostics(IAssetCombinationCache cache, IContentPlanCache contentPlanCache, IAssetFileGraph pipeline)
 {
     _cache            = cache;
     _contentPlanCache = contentPlanCache;
     _pipeline         = pipeline;
 }
 public void Apply(IPackageLog log, IAssetFileGraph fileGraph, AssetGraph graph)
 {
     // TODO -- make this recording later?
     Replay(graph);
 }
Example #15
0
 public AssetPrecompilerActivator(IEnumerable <IAssetPrecompiler> precompilers, AssetGraph assetGraph, IAssetFileGraph assetFileGraph)
 {
     _precompilers   = precompilers;
     _assetGraph     = assetGraph;
     _assetFileGraph = assetFileGraph;
 }
Example #16
0
        public SpecificationGraph(IAssetFileGraph pipeline)
        {
            pipeline.AllPackages.Where(IsSpecPackage).Each(AddSpecs);

            _packages.Each(x => x.ApplyHelpers());
        }
		public AssetPathResolver(IAssetFileGraph assetPipeline)
		{
			_assetPipeline = assetPipeline;
		}
Example #18
0
 public AssetDeclarationChecker(IAssetFileGraph fileGraph, IPackageLog log, AssetLogsCache assetLogs)
 {
     _fileGraph = fileGraph;
     _log       = log;
     _assetLogs = assetLogs;
 }
 public void Apply(IPackageLog log, IAssetFileGraph fileGraph, AssetGraph graph)
 {
     graph.ForEachSetName(WarmUpSet);
 }
 public AssetDeclarationChecker(IAssetFileGraph fileGraph, IPackageLog log, AssetLogsCache assetLogs)
 {
     _fileGraph = fileGraph;
     _log = log;
     _assetLogs = assetLogs;
 }
 public AssetPrecompilerActivator(IEnumerable<IAssetPrecompiler> precompilers, AssetGraph assetGraph, IAssetFileGraph assetFileGraph)
 {
     _precompilers = precompilers;
     _assetGraph = assetGraph;
     _assetFileGraph = assetFileGraph;
 }
 public AssetDeclarationVerificationActivator(IAssetFileGraph fileGraph, AssetGraph graph, AssetLogsCache assetLogs)
 {
     _fileGraph = fileGraph;
     _graph = graph;
     _assetLogs = assetLogs;
 }
 public AssetPolicyActivator(IEnumerable<IAssetPolicy> policies, IAssetFileGraph fileGraph, AssetGraph graph)
 {
     _policies = policies;
     _fileGraph = fileGraph;
     _graph = graph;
 }
 public AssetTagPlanner(IAssetFileGraph fileGraph, ICombinationDeterminationService combinations)
 {
     _fileGraph    = fileGraph;
     _combinations = combinations;
 }
 public AssetPolicyActivator(IEnumerable <IAssetPolicy> policies, IAssetFileGraph fileGraph, AssetGraph graph)
 {
     _policies  = policies;
     _fileGraph = fileGraph;
     _graph     = graph;
 }
 public AssetTagPlanner(IAssetFileGraph fileGraph, ICombinationDeterminationService combinations)
 {
     _fileGraph = fileGraph;
     _combinations = combinations;
 }
 public void Apply(IPackageLog log, IAssetFileGraph fileGraph, AssetGraph graph)
 {
     throw new NotImplementedException();
 }
 public AssetDeclarationVerificationActivator(IAssetFileGraph fileGraph, AssetGraph graph, AssetLogsCache assetLogs)
 {
     _fileGraph = fileGraph;
     _graph     = graph;
     _assetLogs = assetLogs;
 }
Example #29
0
 public void Apply(IPackageLog log, IAssetFileGraph fileGraph, AssetGraph graph)
 {
     // TODO -- make this recording later?
     Replay(graph);
 }
 public BasicAssetDiagnostics(IAssetCombinationCache cache, IContentPlanCache contentPlanCache, IAssetFileGraph pipeline)
 {
     _cache = cache;
     _contentPlanCache = contentPlanCache;
     _pipeline = pipeline;
 }
 public UrlQueryEndpoint(BehaviorGraph graph, IAssetFileGraph assetFiles)
 {
     _graph      = graph;
     _assetFiles = assetFiles;
 }
 public AssetRequirements(IAssetDependencyFinder finder, IAssetFileGraph fileGraph)
 {
     _finder    = finder;
     _fileGraph = fileGraph;
 }