Esempio n. 1
0
        public LibraryFile(IGroup group, string path, IIndexProviderFactory factory)
        {
            Group = group;
            Name  = Path.GetFileName(path);

            fileIndex = factory.Create(this);
        }
Esempio n. 2
0
        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);
        }