Account base information.
Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateAccountArgs" /> class.
 /// </summary>
 /// <param name="session">The session.</param>
 /// <param name="account">The account.</param>
 /// <param name="password">The password.</param>
 /// <param name="abortDefault">if set to <c>true</c> [abort default].</param>
 /// <param name="jsonResponse">The json response.</param>
 public UpdateAccountArgs(Session session, Account account, 
     string password, bool abortDefault, JsonResponse jsonResponse)
 {
     Session = session;
     Account = account;
     Password = password;
     JsonResponse = jsonResponse;
     AbortDefault = abortDefault;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Session"/> class.
 /// </summary>
 /// <param name="id">The _id.</param>
 public Session(Guid id)
 {
     Id = id;
     Account = AnonymousAccount;
     Properties = new SessionProperties(id);
 }