Example #1
0
 public Data GetDataWithId(int id)
 {
     return(Datas[GlobalId.GetInstanceId(id)]);
 }
Example #2
0
 public T GetDataWithId <T>(int id) where T : Data
 {
     return(Datas[GlobalId.GetInstanceId(id)] as T);
 }
Example #3
0
 public int GetInstanceId()
 {
     return(GlobalId.GetInstanceId(_id));
 }