Exemplo n.º 1
0
 internal HttpProfileClient(OverwatchConfig config) : base(config)
 {
     _client = new HttpClient
     {
         BaseAddress = new Uri("https://playoverwatch.com/en-gb/career/")
     };
 }
Exemplo n.º 2
0
 public MockProfileClient(OverwatchConfig config) : base(config)
 {
     _mockData = new ProfileRequestData("https://playoverwatch.com/en-gb/career/pc/eu/SirDoombox-2603", File.ReadAllText("TestSource.txt"), Platform.Pc);
 }
Exemplo n.º 3
0
 public OverwatchClient(OverwatchConfig config = null)
 {
     _profileParser = new ProfileParser();
     Config         = config ?? new OverwatchConfig.Builder().Default();
     _profileClient = new HttpProfileClient(Config);
 }
Exemplo n.º 4
0
 internal OverwatchClient(ProfileClient profileClient, OverwatchConfig config)
 {
     _profileClient = profileClient;
     _profileParser = new ProfileParser();
     Config         = config;
 }
Exemplo n.º 5
0
 protected ProfileClient(OverwatchConfig config)
 {
     _config = config;
 }