예제 #1
0
 /// <summary>
 /// Constructs the cleaner
 /// </summary>
 /// <param name="cacheDir">Directory to be deleted</param>
 /// <param name="builderEnumerator">All the registered reference builders</param>
 /// <param name="predicatesFactory">Factory for soft-clean predicate registry</param>
 public CacheCleaner(Lazy <IFileSystemDirectory> cacheDir, IBuilderEnumerator builderEnumerator, Func <ISoftCleanPredicates> predicatesFactory)
 {
     this.cacheDir          = cacheDir;
     this.builderEnumerator = builderEnumerator;
     this.predicatesFactory = predicatesFactory;
 }
예제 #2
0
파일: CacheCleaner.cs 프로젝트: vigoo/bari
 /// <summary>
 /// Constructs the cleaner
 /// </summary>
 /// <param name="cacheDir">Directory to be deleted</param>
 /// <param name="builderEnumerator">All the registered reference builders</param>
 /// <param name="predicatesFactory">Factory for soft-clean predicate registry</param>
 public CacheCleaner(Lazy<IFileSystemDirectory> cacheDir, IBuilderEnumerator builderEnumerator, Func<ISoftCleanPredicates> predicatesFactory)
 {
     this.cacheDir = cacheDir;
     this.builderEnumerator = builderEnumerator;
     this.predicatesFactory = predicatesFactory;
 }
예제 #3
0
 /// <summary>
 /// Constructs the cleaner
 /// </summary>
 /// <param name="cacheDir">Directory to be deleted</param>
 /// <param name="builderEnumerator">All the registered reference builders</param>
 public CacheCleaner(IFileSystemDirectory cacheDir, IBuilderEnumerator builderEnumerator)
 {
     this.cacheDir          = cacheDir;
     this.builderEnumerator = builderEnumerator;
 }
예제 #4
0
파일: CacheCleaner.cs 프로젝트: zvrana/bari
 /// <summary>
 /// Constructs the cleaner
 /// </summary>
 /// <param name="cacheDir">Directory to be deleted</param>
 /// <param name="builderEnumerator">All the registered reference builders</param>
 public CacheCleaner(IFileSystemDirectory cacheDir, IBuilderEnumerator builderEnumerator)
 {
     this.cacheDir = cacheDir;
     this.builderEnumerator = builderEnumerator;
 }