public LibraryFile(IGroup group, string path, IIndexProviderFactory factory) { Group = group; Name = Path.GetFileName(path); fileIndex = factory.Create(this); }
public Library(string systemFolder, string personalFolder, string sharedFolder, IIndexProviderFactory indexAdapterFactory) { this.indexAdapterFactory = indexAdapterFactory; System = CreateGroup("System", systemFolder); Personal = CreateGroup("Personal", personalFolder); Shared = CreateGroup("Shared", sharedFolder); }