private Library(string name)
 {
     this.Name = name;
     this.readableItems = new List<IReadable>();
     this.users = new List<IProfile>();
     this.profilesFactory = new ProfilesFactory();
     this.readableItemsFactory = new ReadableItemsFactory();
     this.search = new Search();
     this.dataManager = new DataManager();
 }
Пример #2
0
 private Library(string name)
 {
     this.Name                 = name;
     this.readableItems        = new List <IReadable>();
     this.users                = new List <IProfile>();
     this.profilesFactory      = new ProfilesFactory();
     this.readableItemsFactory = new ReadableItemsFactory();
     this.search               = new Search();
     this.dataManager          = new DataManager();
 }