Exemplo n.º 1
0
 public GroupInfo(Group group)
 {
     Group = group;
     foreach (var groupUser in Group.GroupUsers)
     {
         Users.Add(UserInfoFactory.Create(groupUser.UserId));
     }
 }
Exemplo n.º 2
0
 //initiation of me and group
 private async Task InitMeAsync()
 {
     Me = UserInfoFactory.Create(await Global.APIBase.CreateUserAPI().GetMeAsync());
     Me.DecryptHelper = Me.DecryptHelper ?? new DecryptHelper(Global.APIBase.PrivateKey);
 }