コード例 #1
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();
 }
コード例 #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();
 }