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

            motherStorage = storage;
        }
Exemple #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>>();
 }
Exemple #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> >();
 }
Exemple #4
0
        static void Main(string[] args)
        {
            StorageTmp DB = new StorageTmp();

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

            Console.ReadLine();
        }
Exemple #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> >();
 }
Exemple #6
0
        static void Main(string[] args)
        {
            StorageTmp DB = new StorageTmp();
            DB.InitWithStupidData();
            DB.afficheDebug();

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

            motherStorage = storage;
        }
Exemple #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>>();
 }
Exemple #10
0
 public UserStorageTmp(StorageTmp storage)
 {
     motherStorage = storage;
     dico_id_info  = new Dictionary <Guid, UserInfo>();
     dico_login_id = new Dictionary <string, Guid>();
 }