public UpdateRatingCommand(string uniqueKey, uint? rating, string customParams, AccountContext accountContext)
     : base(accountContext)
 {
     _uniqueKey = uniqueKey;
     _rating = rating;
     _customParams = customParams;
 }
 public GetRatingAverageQuery(AccountContext accountContext, string uniqueKey)
     : base(accountContext)
 {
     this.uniqueKey = uniqueKey;
 }
 public AuthorisationCredentialsCommand(AccountContext accountContext, IPAddress ipAddress)
     : base(accountContext)
 {
     this.ipAddress = ipAddress;
 }
 public GetAllRatingsAverageQuery(AccountContext accountContext)
     : base(accountContext)
 {
 }
 public GetUserAccountByKeyQuery(AccountContext accountContext)
     : base(accountContext)
 {
 }
 protected WithAccountContext(AccountContext accountContext)
 {
     if (accountContext == null) throw new ArgumentNullException("accountContext", "Account context cannot be null.");
     this.accountContext = accountContext;
 }