Inheritance: IStorage
コード例 #1
0
ファイル: StorageTmp.cs プロジェクト: xuedong/Tigwi
        public MsgStorageTmp(StorageTmp storage)
        {
            dico_idaccount_listIdMess = new SortedDictionary <Guid, List <Guid> >();
            dico_idMess_mess          = new SortedDictionary <Guid, Message>();

            motherStorage = storage;
        }
コード例 #2
0
ファイル: StorageTmp.cs プロジェクト: ismaelbelghiti/Tigwi
 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
ファイル: StorageTmp.cs プロジェクト: xuedong/Tigwi
 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
ファイル: StorageTmp.cs プロジェクト: xuedong/Tigwi
        static void Main(string[] args)
        {
            StorageTmp DB = new StorageTmp();

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

            Console.ReadLine();
        }
コード例 #5
0
ファイル: StorageTmp.cs プロジェクト: xuedong/Tigwi
 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
ファイル: StorageTmp.cs プロジェクト: ismaelbelghiti/Tigwi
        static void Main(string[] args)
        {
            StorageTmp DB = new StorageTmp();
            DB.InitWithStupidData();
            DB.afficheDebug();

            Console.ReadLine();
        }
コード例 #7
0
ファイル: StorageTmp.cs プロジェクト: ismaelbelghiti/Tigwi
 public UserStorageTmp(StorageTmp storage)
 {
     motherStorage = storage;
     dico_id_info = new Dictionary<Guid, UserInfo>();
     dico_login_id = new Dictionary<string, Guid>();
 }
コード例 #8
0
ファイル: StorageTmp.cs プロジェクト: ismaelbelghiti/Tigwi
        public MsgStorageTmp(StorageTmp storage)
        {
            dico_idaccount_listIdMess = new SortedDictionary<Guid,List<Guid>>();
            dico_idMess_mess = new SortedDictionary<Guid, Message>();

            motherStorage = storage;
        }
コード例 #9
0
ファイル: StorageTmp.cs プロジェクト: ismaelbelghiti/Tigwi
 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
ファイル: StorageTmp.cs プロジェクト: xuedong/Tigwi
 public UserStorageTmp(StorageTmp storage)
 {
     motherStorage = storage;
     dico_id_info  = new Dictionary <Guid, UserInfo>();
     dico_login_id = new Dictionary <string, Guid>();
 }