public static BattleriteClient Create( IAssetClient assetClient, IMatchClient matchClient, IPlayerClient playerClient) { return(new BattleriteClient(assetClient, matchClient, playerClient)); }
public MatchService(IMatchClient matchClient, IUnitOfWorkManager unitOfWorkManager, IMapper <MatchDetailsClientModel, MatchDetailsModel> matchDetailsMapper, ISessionManager sessionManager) { _matchClient = matchClient; _matchDetailsMapper = matchDetailsMapper; _unitOfWorkManager = unitOfWorkManager; _sessionManager = sessionManager; }
internal BattleriteClient( IAssetClient assets, IMatchClient matches, IPlayerClient players) { Players = players; Matches = matches; Assets = assets; }
public MatchMobileService(IMapper <MatchDetailsClientModel, MatchDetailsModel> matchDetailsMapper, IMatchClient matchClient, ISessionManager sessionManager, IUnitOfWorkManager unitOfWorkManager, IResponseValidator responseValidator) { _matchClient = matchClient; _matchDetailsMapper = matchDetailsMapper; _sessionManager = sessionManager; _unitOfWorkManager = unitOfWorkManager; _responseValidator = responseValidator; }
private IMatchClient CreateOrGetMatchClient(IRequestUrlBuilder requestUrlBuilder, IRequester requester) { IMatchClient matchClient = null; matchClientFactory.Or(() => new MatchClientFactory()) .MatchSome( factory => matchClient = factory.Create( requestUrlBuilder, requester, new JsonApiSerializerSettings())); return(matchClient); }
public MatchService(IMatchClient matchClient, IMatchConvert convert) { this.matchClient = matchClient; this.convert = convert; }
public AdminController(IDbContextWrapper context, IMatchClient matchClient, IResultCoordinator resultCoordinator) { this.matchClient = matchClient; this.context = context; this.resultCoordinator = resultCoordinator; }
public ResultCoordinator(IMatchClient matchClient, IDbContextWrapper dbContextWrapper, IBetResultMaker betResultMaker) { this.matchClient = matchClient; this.dbContextWrapper = dbContextWrapper; this.betResultMaker = betResultMaker; }
public MatchProvider(IMatchClient matchClient, IMatchService matchService, IBetListProvider betListProvider) { this.matchClient = matchClient; this.matchService = matchService; this.betListProvider = betListProvider; }
public MatchService() { _matchClient = RestService.For <IMatchClient>(Session.HostUrl); }