public AssemblyResourceCollector(Assembly assembly, BundleSyncCallback bundleSyncCallback, BundleDeleteCallback bundleDeleteCallback) { this.ass = assembly; this.bundleSyncCallback = bundleSyncCallback; this.bundleDeleteCallback = bundleDeleteCallback; this.statistics = new ResourceSyncStatistics(); this.existingBundles = new List<string>(); }
private void AddStats(ResourceSyncStatistics stats) { Statistics.AddedAssemblies += stats.AddedAssemblies; Statistics.AddedBundles += stats.AddedBundles; Statistics.AddedResources += stats.AddedResources; Statistics.RemovedBundles += stats.RemovedBundles; Statistics.RemovedResources += stats.RemovedResources; Statistics.UpdatedBundles += stats.UpdatedBundles; Statistics.UpdatedResources += stats.UpdatedResources; }