Skip to content

Commit d721f97

Browse files
authored
Merge pull request #60 from Afischbacher/develop
v3.5.0
2 parents 4366edf + e9a494b commit d721f97

File tree

63 files changed

+1700
-178
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+1700
-178
lines changed

Nhl.Api.Common/Helpers/TeamNames.cs

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Nhl.Api.Common.Helpers;
1+
namespace Nhl.Api.Common.Helpers;
22

33
/// <summary>
44
/// A helper class for all NHL team names
@@ -164,4 +164,9 @@ public static class TeamNames
164164
/// Winnipeg Jets
165165
/// </summary>
166166
public const string WinnipegJets = "Winnipeg Jets";
167+
168+
/// <summary>
169+
/// Utah Hockey Club
170+
/// </summary>
171+
public const string UtahHockeyClub = "Utah Hockey Club";
167172
}

Nhl.Api.Common/Http/NhlApiHttpClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
using Newtonsoft.Json;
21
using System;
32
using System.Net;
43
using System.Net.Http;
54
using System.Threading;
65
using System.Threading.Tasks;
6+
using Newtonsoft.Json;
77

88
namespace Nhl.Api.Common.Http;
99
/// <summary>

Nhl.Api.Common/Nhl.Api.Common.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>3.4.2</Version>
4+
<Version>3.5.0</Version>
55
<TargetFrameworks>net8.0</TargetFrameworks>
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
77
<Nullable>enable</Nullable>

Nhl.Api.Common/Services/CachingService.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
using Newtonsoft.Json;
21
using System;
32
using System.Collections.Concurrent;
43
using System.IO;
54
using System.IO.Compression;
65
using System.Text;
76
using System.Threading.Tasks;
7+
using Newtonsoft.Json;
88

99
namespace Nhl.Api.Common.Services;
1010
/// <summary>

Nhl.Api.Domain/Enumerations/Franchise/FranchiseEnum.cs

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Nhl.Api.Models.Enumerations.Franchise;
1+
namespace Nhl.Api.Models.Enumerations.Franchise;
22

33
/// <summary>
44
/// An enumeration of all NHL franchises
@@ -160,5 +160,9 @@ public enum FranchiseEnum
160160
/// <summary>
161161
/// Seattle Kraken
162162
/// </summary>
163-
SeattleKraken = 39
163+
SeattleKraken = 39,
164+
/// <summary>
165+
/// Utah Hockey Club
166+
/// </summary>
167+
UtahHockeyClub = 40
164168
}

Nhl.Api.Domain/Enumerations/Player/PlayerEnumFileGeneratorHelper.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
using Nhl.Api.Common.Http;
2-
using Nhl.Api.Models.Player;
31
using System.Collections.Generic;
42
using System.IO;
53
using System.Linq;
64
using System.Text.RegularExpressions;
75
using System.Threading.Tasks;
6+
using Nhl.Api.Common.Http;
7+
using Nhl.Api.Models.Player;
88

99
namespace Nhl.Api.Models.Enumerations.Player;
1010
/// <summary>

Nhl.Api.Domain/Enumerations/Team/TeamEnum.cs

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Nhl.Api.Models.Enumerations.Team;
1+
namespace Nhl.Api.Models.Enumerations.Team;
22

33
/// <summary>
44
/// An enumeration for all active NHL teams
@@ -132,5 +132,9 @@ public enum TeamEnum
132132
/// <summary>
133133
/// Seattle Kraken
134134
/// </summary>
135-
SeattleKraken = 55
136-
}
135+
SeattleKraken = 55,
136+
/// <summary>
137+
/// Utah Hockey Club
138+
/// </summary>
139+
UtahHockeyClub = 59
140+
}

Nhl.Api.Domain/Models/Game/GameCenterBoxScore.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using Newtonsoft.Json;
2-
using System;
1+
using System;
32
using System.Collections.Generic;
3+
using Newtonsoft.Json;
44

55
namespace Nhl.Api.Models.Game;
66
/// <summary>

Nhl.Api.Domain/Models/Game/GameCenterLanding.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
using System;
2+
using System.Collections.Generic;
13
using Newtonsoft.Json;
24
using Nhl.Api.Models.Player;
35
using Nhl.Api.Models.Standing;
4-
using System;
5-
using System.Collections.Generic;
66

77
namespace Nhl.Api.Models.Game;
88
/// <summary>

Nhl.Api.Domain/Models/Game/GameCenterPlayByPlay.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
using Newtonsoft.Json;
2-
using Nhl.Api.Models.Player;
31
using System;
42
using System.Collections.Generic;
3+
using Newtonsoft.Json;
4+
using Nhl.Api.Models.Player;
55

66
namespace Nhl.Api.Models.Game;
77

Nhl.Api.Domain/Models/Game/GameMetadata.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using Newtonsoft.Json;
2-
using System.Collections.Generic;
1+
using System.Collections.Generic;
2+
using Newtonsoft.Json;
33

44
namespace Nhl.Api.Models.Game;
55
/// <summary>

Nhl.Api.Domain/Models/Game/GameScore.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using Newtonsoft.Json;
2-
using System;
1+
using System;
32
using System.Collections.Generic;
3+
using Newtonsoft.Json;
44

55
namespace Nhl.Api.Models.Game;
66
/// <summary>

Nhl.Api.Domain/Models/Game/GameScoreboard.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using Newtonsoft.Json;
2-
using System;
1+
using System;
32
using System.Collections.Generic;
3+
using Newtonsoft.Json;
44

55
namespace Nhl.Api.Models.Game;
66
/// <summary>

Nhl.Api.Domain/Models/Game/GoalieSeasonGameLog.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using Newtonsoft.Json;
1+
using System.Collections.Generic;
2+
using Newtonsoft.Json;
23
using Nhl.Api.Models.Team;
3-
using System.Collections.Generic;
44

55
namespace Nhl.Api.Models.Game;
66
/// <summary>

Nhl.Api.Domain/Models/Game/PlayerSeasonGameLog.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using Newtonsoft.Json;
1+
using System.Collections.Generic;
2+
using Newtonsoft.Json;
23
using Nhl.Api.Models.Team;
3-
using System.Collections.Generic;
44

55
namespace Nhl.Api.Models.Game;
66
/// <summary>

Nhl.Api.Domain/Models/Game/TeamScoreboard.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using Newtonsoft.Json;
2-
using System;
1+
using System;
32
using System.Collections.Generic;
3+
using Newtonsoft.Json;
44

55
namespace Nhl.Api.Models.Game;
66
/// <summary>

Nhl.Api.Domain/Models/Game/TvScheduleBroadcast.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using Newtonsoft.Json;
2-
using System;
1+
using System;
32
using System.Collections.Generic;
3+
using Newtonsoft.Json;
44

55
namespace Nhl.Api.Models.Game;
66
/// <summary>

Nhl.Api.Domain/Models/League/LeagueMetadataInformation.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using Newtonsoft.Json;
2-
using System.Collections.Generic;
1+
using System.Collections.Generic;
2+
using Newtonsoft.Json;
33

44
namespace Nhl.Api.Models.League;
55
/// <summary>

Nhl.Api.Domain/Models/Player/ExpressionGoalieFilterBuilder.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
using Nhl.Api.Common.Extensions;
21
using System.ComponentModel;
32
using System.Runtime.Serialization;
43
using System.Text;
4+
using Nhl.Api.Common.Extensions;
55

66
namespace Nhl.Api.Models.Player;
77
/// <summary>

0 commit comments

Comments
 (0)