Skip to content

Commit

Permalink
Merge pull request #60 from Afischbacher/develop
Browse files Browse the repository at this point in the history
v3.5.0
  • Loading branch information
Afischbacher authored Sep 30, 2024
2 parents 4366edf + e9a494b commit d721f97
Show file tree
Hide file tree
Showing 63 changed files with 1,700 additions and 178 deletions.
7 changes: 6 additions & 1 deletion Nhl.Api.Common/Helpers/TeamNames.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Nhl.Api.Common.Helpers;
namespace Nhl.Api.Common.Helpers;

/// <summary>
/// A helper class for all NHL team names
Expand Down Expand Up @@ -164,4 +164,9 @@ public static class TeamNames
/// Winnipeg Jets
/// </summary>
public const string WinnipegJets = "Winnipeg Jets";

/// <summary>
/// Utah Hockey Club
/// </summary>
public const string UtahHockeyClub = "Utah Hockey Club";
}
2 changes: 1 addition & 1 deletion Nhl.Api.Common/Http/NhlApiHttpClient.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Newtonsoft.Json;
using System;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace Nhl.Api.Common.Http;
/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion Nhl.Api.Common/Nhl.Api.Common.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>3.4.2</Version>
<Version>3.5.0</Version>
<TargetFrameworks>net8.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Nullable>enable</Nullable>
Expand Down
2 changes: 1 addition & 1 deletion Nhl.Api.Common/Services/CachingService.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using Newtonsoft.Json;
using System;
using System.Collections.Concurrent;
using System.IO;
using System.IO.Compression;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace Nhl.Api.Common.Services;
/// <summary>
Expand Down
8 changes: 6 additions & 2 deletions Nhl.Api.Domain/Enumerations/Franchise/FranchiseEnum.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Nhl.Api.Models.Enumerations.Franchise;
namespace Nhl.Api.Models.Enumerations.Franchise;

/// <summary>
/// An enumeration of all NHL franchises
Expand Down Expand Up @@ -160,5 +160,9 @@ public enum FranchiseEnum
/// <summary>
/// Seattle Kraken
/// </summary>
SeattleKraken = 39
SeattleKraken = 39,
/// <summary>
/// Utah Hockey Club
/// </summary>
UtahHockeyClub = 40
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using Nhl.Api.Common.Http;
using Nhl.Api.Models.Player;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Nhl.Api.Common.Http;
using Nhl.Api.Models.Player;

namespace Nhl.Api.Models.Enumerations.Player;
/// <summary>
Expand Down
10 changes: 7 additions & 3 deletions Nhl.Api.Domain/Enumerations/Team/TeamEnum.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Nhl.Api.Models.Enumerations.Team;
namespace Nhl.Api.Models.Enumerations.Team;

/// <summary>
/// An enumeration for all active NHL teams
Expand Down Expand Up @@ -132,5 +132,9 @@ public enum TeamEnum
/// <summary>
/// Seattle Kraken
/// </summary>
SeattleKraken = 55
}
SeattleKraken = 55,
/// <summary>
/// Utah Hockey Club
/// </summary>
UtahHockeyClub = 59
}
4 changes: 2 additions & 2 deletions Nhl.Api.Domain/Models/Game/GameCenterBoxScore.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Newtonsoft.Json;
using System;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace Nhl.Api.Models.Game;
/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Nhl.Api.Domain/Models/Game/GameCenterLanding.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Nhl.Api.Models.Player;
using Nhl.Api.Models.Standing;
using System;
using System.Collections.Generic;

namespace Nhl.Api.Models.Game;
/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Nhl.Api.Domain/Models/Game/GameCenterPlayByPlay.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Newtonsoft.Json;
using Nhl.Api.Models.Player;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Nhl.Api.Models.Player;

namespace Nhl.Api.Models.Game;

Expand Down
4 changes: 2 additions & 2 deletions Nhl.Api.Domain/Models/Game/GameMetadata.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace Nhl.Api.Models.Game;
/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Nhl.Api.Domain/Models/Game/GameScore.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Newtonsoft.Json;
using System;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace Nhl.Api.Models.Game;
/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Nhl.Api.Domain/Models/Game/GameScoreboard.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Newtonsoft.Json;
using System;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace Nhl.Api.Models.Game;
/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Nhl.Api.Domain/Models/Game/GoalieSeasonGameLog.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Newtonsoft.Json;
using System.Collections.Generic;
using Newtonsoft.Json;
using Nhl.Api.Models.Team;
using System.Collections.Generic;

namespace Nhl.Api.Models.Game;
/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Nhl.Api.Domain/Models/Game/PlayerSeasonGameLog.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Newtonsoft.Json;
using System.Collections.Generic;
using Newtonsoft.Json;
using Nhl.Api.Models.Team;
using System.Collections.Generic;

namespace Nhl.Api.Models.Game;
/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Nhl.Api.Domain/Models/Game/TeamScoreboard.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Newtonsoft.Json;
using System;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace Nhl.Api.Models.Game;
/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Nhl.Api.Domain/Models/Game/TvScheduleBroadcast.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Newtonsoft.Json;
using System;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace Nhl.Api.Models.Game;
/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Nhl.Api.Domain/Models/League/LeagueMetadataInformation.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace Nhl.Api.Models.League;
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Nhl.Api.Common.Extensions;
using System.ComponentModel;
using System.Runtime.Serialization;
using System.Text;
using Nhl.Api.Common.Extensions;

namespace Nhl.Api.Models.Player;
/// <summary>
Expand Down
Loading

0 comments on commit d721f97

Please sign in to comment.