public UtilityController(IUtilityApiProxy utilityApiProxy, IAccountApiProxy accountApiProxy, UserContext userContext)
        {
            Contract.Requires(userContext != null);
            Contract.Requires(accountApiProxy != null);
            Contract.Requires(utilityApiProxy != null);

            _utilityApiProxy = utilityApiProxy;
            _accountApiProxy = accountApiProxy;
            _userContext     = userContext;
        }
Example #2
0
        public AccountController(IAccountApiProxy accountApiProxy, UserContext userContext, ISportsbookApiProxy sportsbookApiProxy)
        {
            Contract.Requires(accountApiProxy != null);
            Contract.Requires(userContext != null);
            Contract.Requires(sportsbookApiProxy != null);

            _accountApiProxy    = accountApiProxy;
            _userContext        = userContext;
            _sportsbookApiProxy = sportsbookApiProxy;
        }
        public RegistrationController(IAccountApiProxy accountApiProxy, IUtilityApiProxy utilityApiProxy, NetworkUtility networkUtility)
        {
            Contract.Requires(accountApiProxy != null);
            Contract.Requires(utilityApiProxy != null);
            Contract.Requires(networkUtility != null);

            _accountApiProxy = accountApiProxy;
            _utilityApiProxy = utilityApiProxy;
            _networkUtility  = networkUtility;
        }
Example #4
0
        public AuthenticationController(IAccountApiProxy accountApiProxy, IUtilityApiProxy utilityApiProxy,
                                        UserContext userContext, NetworkUtility networkUtility, HttpContextBase httponContextBase, ISportsbookApiProxy sportsbookApiProxy)
        {
            Contract.Requires(accountApiProxy != null);
            Contract.Requires(utilityApiProxy != null);
            Contract.Requires(userContext != null);
            Contract.Requires(networkUtility != null);
            Contract.Requires(sportsbookApiProxy != null);

            _accountApiProxy    = accountApiProxy;
            _utilityApiProxy    = utilityApiProxy;
            _userContext        = userContext;
            _networkUtility     = networkUtility;
            _httponContextBase  = httponContextBase;
            _sportsbookApiProxy = sportsbookApiProxy;
        }
Example #5
0
 public Player(IAccountApiProxy accountApiProxy, CultureUtility cultureUtility, UserContext userContext)
 {
     _accountApiProxy = accountApiProxy;
     _cultureUtility  = cultureUtility;
     _userContext     = userContext;
 }