Inheritance: IStorage
示例#1
0
        public MsgStorageTmp(StorageTmp storage)
        {
            dico_idaccount_listIdMess = new SortedDictionary <Guid, List <Guid> >();
            dico_idMess_mess          = new SortedDictionary <Guid, Message>();

            motherStorage = storage;
        }
示例#2
0
 public AccountStorageTmp(StorageTmp storage)
 {
     motherStorage = storage;
     dico_id_info = new Dictionary<Guid, IAccountInfo>();
     dico_name_id = new Dictionary<string, Guid>();
     dico_user_idaccounts = new Dictionary<Guid, HashSet<Guid>>();
     dico_id_users = new Dictionary<Guid, HashSet<Guid>>();
 }
示例#3
0
 public AccountStorageTmp(StorageTmp storage)
 {
     motherStorage        = storage;
     dico_id_info         = new Dictionary <Guid, IAccountInfo>();
     dico_name_id         = new Dictionary <string, Guid>();
     dico_user_idaccounts = new Dictionary <Guid, HashSet <Guid> >();
     dico_id_users        = new Dictionary <Guid, HashSet <Guid> >();
 }
示例#4
0
        static void Main(string[] args)
        {
            StorageTmp DB = new StorageTmp();

            DB.InitWithStupidData();
            DB.afficheDebug();

            Console.ReadLine();
        }
示例#5
0
 public ListStorageTmp(StorageTmp storage)
 {
     motherStorage                  = storage;
     dico_id_info                   = new Dictionary <Guid, IListInfo>();
     dico_id_idaccounts             = new Dictionary <Guid, HashSet <Guid> >();
     dico_id_idowner                = new Dictionary <Guid, Guid>();
     dico_idaccount_idperslist      = new Dictionary <Guid, Guid>();
     dico_idaccount_idownedlists    = new Dictionary <Guid, HashSet <Guid> >();
     dico_id_idfollowers            = new Dictionary <Guid, HashSet <Guid> >();
     dico_idaccount_idFollowedLists = new Dictionary <Guid, HashSet <Guid> >();
 }
示例#6
0
        static void Main(string[] args)
        {
            StorageTmp DB = new StorageTmp();
            DB.InitWithStupidData();
            DB.afficheDebug();

            Console.ReadLine();
        }
示例#7
0
 public UserStorageTmp(StorageTmp storage)
 {
     motherStorage = storage;
     dico_id_info = new Dictionary<Guid, UserInfo>();
     dico_login_id = new Dictionary<string, Guid>();
 }
示例#8
0
        public MsgStorageTmp(StorageTmp storage)
        {
            dico_idaccount_listIdMess = new SortedDictionary<Guid,List<Guid>>();
            dico_idMess_mess = new SortedDictionary<Guid, Message>();

            motherStorage = storage;
        }
示例#9
0
 public ListStorageTmp(StorageTmp storage)
 {
     motherStorage = storage;
     dico_id_info = new Dictionary<Guid, IListInfo>();
     dico_id_idaccounts = new Dictionary<Guid, HashSet<Guid>>();
     dico_id_idowner = new Dictionary<Guid, Guid>();
     dico_idaccount_idperslist = new Dictionary<Guid, Guid>();
     dico_idaccount_idownedlists = new Dictionary<Guid, HashSet<Guid>>();
     dico_id_idfollowers = new Dictionary<Guid, HashSet<Guid>>();
     dico_idaccount_idFollowedLists = new Dictionary<Guid,HashSet<Guid>>();
 }
示例#10
0
 public UserStorageTmp(StorageTmp storage)
 {
     motherStorage = storage;
     dico_id_info  = new Dictionary <Guid, UserInfo>();
     dico_login_id = new Dictionary <string, Guid>();
 }