From 387051c409eefdbcc51a09b14be5d7219274bb35 Mon Sep 17 00:00:00 2001 From: Erwin de Haan Date: Sun, 3 Nov 2019 15:52:10 +0100 Subject: [PATCH 1/3] Fix the last docs warnings. --- MediaBrowser.Api/PackageService.cs | 6 ------ .../Globalization/ILocalizationManager.cs | 4 ++-- MediaBrowser.Model/MediaBrowser.Model.csproj | 5 +++++ MediaBrowser.Model/Net/SocketReceiveResult.cs | 2 +- .../Tmdb/Models/Search/MovieResult.cs | 10 +++++----- 5 files changed, 13 insertions(+), 14 deletions(-) diff --git a/MediaBrowser.Api/PackageService.cs b/MediaBrowser.Api/PackageService.cs index baa6f7bb97..0f04ab45c1 100644 --- a/MediaBrowser.Api/PackageService.cs +++ b/MediaBrowser.Api/PackageService.cs @@ -126,12 +126,6 @@ namespace MediaBrowser.Api _appHost = appHost; } - /// - /// Gets the specified request. - /// - /// The request. - /// System.Object. - /// /// /// Gets the specified request. /// diff --git a/MediaBrowser.Model/Globalization/ILocalizationManager.cs b/MediaBrowser.Model/Globalization/ILocalizationManager.cs index 91d946db83..0b6cfe1b71 100644 --- a/MediaBrowser.Model/Globalization/ILocalizationManager.cs +++ b/MediaBrowser.Model/Globalization/ILocalizationManager.cs @@ -64,10 +64,10 @@ namespace MediaBrowser.Model.Globalization bool HasUnicodeCategory(string value, UnicodeCategory category); /// - /// Returns the correct for the given language. + /// Returns the correct for the given language. /// /// The language. - /// The correct for the given language. + /// The correct for the given language. CultureDto FindLanguageInfo(string language); } } diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj index bd4eeea18d..de589782c6 100644 --- a/MediaBrowser.Model/MediaBrowser.Model.csproj +++ b/MediaBrowser.Model/MediaBrowser.Model.csproj @@ -13,9 +13,14 @@ true + + + + + diff --git a/MediaBrowser.Model/Net/SocketReceiveResult.cs b/MediaBrowser.Model/Net/SocketReceiveResult.cs index cd7a2e55f8..3a4ad3738e 100644 --- a/MediaBrowser.Model/Net/SocketReceiveResult.cs +++ b/MediaBrowser.Model/Net/SocketReceiveResult.cs @@ -18,7 +18,7 @@ namespace MediaBrowser.Model.Net public int ReceivedBytes { get; set; } /// - /// The the data was received from. + /// The the data was received from. /// public IPEndPoint RemoteEndPoint { get; set; } public IPAddress LocalIPAddress { get; set; } diff --git a/MediaBrowser.Providers/Tmdb/Models/Search/MovieResult.cs b/MediaBrowser.Providers/Tmdb/Models/Search/MovieResult.cs index 25a211fa84..2df15931fe 100644 --- a/MediaBrowser.Providers/Tmdb/Models/Search/MovieResult.cs +++ b/MediaBrowser.Providers/Tmdb/Models/Search/MovieResult.cs @@ -2,11 +2,11 @@ namespace MediaBrowser.Providers.Tmdb.Models.Search { public class MovieResult { - /// - /// Gets or sets a value indicating whether this is adult. - /// - /// true if adult; otherwise, false. - public bool Adult { get; set; } + /// + /// Gets or sets a value indicating whether this is adult. + /// + /// true if adult; otherwise, false. + public bool Adult { get; set; } /// /// Gets or sets the backdrop_path. /// From 45a670f15b03e254900a323dec8036e0c8e956d3 Mon Sep 17 00:00:00 2001 From: Erwin de Haan Date: Sun, 3 Nov 2019 16:40:35 +0100 Subject: [PATCH 2/3] Revert the project inclusion that created a cycle. --- MediaBrowser.Model/MediaBrowser.Model.csproj | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj index de589782c6..53cd08fbd0 100644 --- a/MediaBrowser.Model/MediaBrowser.Model.csproj +++ b/MediaBrowser.Model/MediaBrowser.Model.csproj @@ -1,4 +1,4 @@ - + Jellyfin Contributors @@ -13,10 +13,6 @@ true - - - - From f0e2f243ad44569f6d21783939214593530f4ce6 Mon Sep 17 00:00:00 2001 From: Erwin de Haan Date: Sun, 3 Nov 2019 17:55:46 +0100 Subject: [PATCH 3/3] Conform MovieResult.cs to the formatting standards. --- .../Tmdb/Models/Search/MovieResult.cs | 108 +++++++++--------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/MediaBrowser.Providers/Tmdb/Models/Search/MovieResult.cs b/MediaBrowser.Providers/Tmdb/Models/Search/MovieResult.cs index 2df15931fe..245162728b 100644 --- a/MediaBrowser.Providers/Tmdb/Models/Search/MovieResult.cs +++ b/MediaBrowser.Providers/Tmdb/Models/Search/MovieResult.cs @@ -7,59 +7,59 @@ namespace MediaBrowser.Providers.Tmdb.Models.Search /// /// true if adult; otherwise, false. public bool Adult { get; set; } - /// - /// Gets or sets the backdrop_path. - /// - /// The backdrop_path. - public string Backdrop_Path { get; set; } - /// - /// Gets or sets the id. - /// - /// The id. - public int Id { get; set; } - /// - /// Gets or sets the original_title. - /// - /// The original_title. - public string Original_Title { get; set; } - /// - /// Gets or sets the original_name. - /// - /// The original_name. - public string Original_Name { get; set; } - /// - /// Gets or sets the release_date. - /// - /// The release_date. - public string Release_Date { get; set; } - /// - /// Gets or sets the poster_path. - /// - /// The poster_path. - public string Poster_Path { get; set; } - /// - /// Gets or sets the popularity. - /// - /// The popularity. - public double Popularity { get; set; } - /// - /// Gets or sets the title. - /// - /// The title. - public string Title { get; set; } - /// - /// Gets or sets the vote_average. - /// - /// The vote_average. - public double Vote_Average { get; set; } - /// - /// For collection search results - /// - public string Name { get; set; } - /// - /// Gets or sets the vote_count. - /// - /// The vote_count. - public int Vote_Count { get; set; } + /// + /// Gets or sets the backdrop_path. + /// + /// The backdrop_path. + public string Backdrop_Path { get; set; } + /// + /// Gets or sets the id. + /// + /// The id. + public int Id { get; set; } + /// + /// Gets or sets the original_title. + /// + /// The original_title. + public string Original_Title { get; set; } + /// + /// Gets or sets the original_name. + /// + /// The original_name. + public string Original_Name { get; set; } + /// + /// Gets or sets the release_date. + /// + /// The release_date. + public string Release_Date { get; set; } + /// + /// Gets or sets the poster_path. + /// + /// The poster_path. + public string Poster_Path { get; set; } + /// + /// Gets or sets the popularity. + /// + /// The popularity. + public double Popularity { get; set; } + /// + /// Gets or sets the title. + /// + /// The title. + public string Title { get; set; } + /// + /// Gets or sets the vote_average. + /// + /// The vote_average. + public double Vote_Average { get; set; } + /// + /// For collection search results + /// + public string Name { get; set; } + /// + /// Gets or sets the vote_count. + /// + /// The vote_count. + public int Vote_Count { get; set; } } }