Browse Source

Merge pull request #1973 from EraYaN/docs-warning-fixes

Fix the last of the docs warnings
dkanada 5 năm trước cách đây
mục cha
commit
ad852ffd9a

+ 0 - 6
MediaBrowser.Api/PackageService.cs

@@ -126,12 +126,6 @@ namespace MediaBrowser.Api
             _appHost = appHost;
         }
 
-        /// <summary>
-        /// Gets the specified request.
-        /// </summary>
-        /// <param name="request">The request.</param>
-        /// <returns>System.Object.</returns>
-        ///
         /// <summary>
         /// Gets the specified request.
         /// </summary>

+ 2 - 2
MediaBrowser.Model/Globalization/ILocalizationManager.cs

@@ -64,10 +64,10 @@ namespace MediaBrowser.Model.Globalization
         bool HasUnicodeCategory(string value, UnicodeCategory category);
 
         /// <summary>
-        /// Returns the correct <see cref="Cultureinfo" /> for the given language.
+        /// Returns the correct <see cref="CultureInfo" /> for the given language.
         /// </summary>
         /// <param name="language">The language.</param>
-        /// <returns>The correct <see cref="Cultureinfo" /> for the given language.</returns>
+        /// <returns>The correct <see cref="CultureInfo" /> for the given language.</returns>
         CultureDto FindLanguageInfo(string language);
     }
 }

+ 2 - 1
MediaBrowser.Model/MediaBrowser.Model.csproj

@@ -1,4 +1,4 @@
-<Project Sdk="Microsoft.NET.Sdk">
+<Project Sdk="Microsoft.NET.Sdk">
 
   <PropertyGroup>
     <Authors>Jellyfin Contributors</Authors>
@@ -16,6 +16,7 @@
   <ItemGroup>
     <PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
     <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="3.0.0" />
+    <PackageReference Include="System.Globalization" Version="4.3.0" />
     <PackageReference Include="System.Text.Json" Version="4.6.0" />
   </ItemGroup>
 

+ 1 - 1
MediaBrowser.Model/Net/SocketReceiveResult.cs

@@ -18,7 +18,7 @@ namespace MediaBrowser.Model.Net
         public int ReceivedBytes { get; set; }
 
         /// <summary>
-        /// The <see cref="IpEndPointInfo"/> the data was received from.
+        /// The <see cref="IPEndPoint"/> the data was received from.
         /// </summary>
         public IPEndPoint RemoteEndPoint { get; set; }
         public IPAddress LocalIPAddress { get; set; }

+ 59 - 59
MediaBrowser.Providers/Tmdb/Models/Search/MovieResult.cs

@@ -2,64 +2,64 @@ namespace MediaBrowser.Providers.Tmdb.Models.Search
 {
     public class MovieResult
     {
-            /// <summary>
-            /// Gets or sets a value indicating whether this <see cref="TmdbMovieSearchResult" /> is adult.
-            /// </summary>
-            /// <value><c>true</c> if adult; otherwise, <c>false</c>.</value>
-            public bool Adult { get; set; }
-            /// <summary>
-            /// Gets or sets the backdrop_path.
-            /// </summary>
-            /// <value>The backdrop_path.</value>
-            public string Backdrop_Path { get; set; }
-            /// <summary>
-            /// Gets or sets the id.
-            /// </summary>
-            /// <value>The id.</value>
-            public int Id { get; set; }
-            /// <summary>
-            /// Gets or sets the original_title.
-            /// </summary>
-            /// <value>The original_title.</value>
-            public string Original_Title { get; set; }
-            /// <summary>
-            /// Gets or sets the original_name.
-            /// </summary>
-            /// <value>The original_name.</value>
-            public string Original_Name { get; set; }
-            /// <summary>
-            /// Gets or sets the release_date.
-            /// </summary>
-            /// <value>The release_date.</value>
-            public string Release_Date { get; set; }
-            /// <summary>
-            /// Gets or sets the poster_path.
-            /// </summary>
-            /// <value>The poster_path.</value>
-            public string Poster_Path { get; set; }
-            /// <summary>
-            /// Gets or sets the popularity.
-            /// </summary>
-            /// <value>The popularity.</value>
-            public double Popularity { get; set; }
-            /// <summary>
-            /// Gets or sets the title.
-            /// </summary>
-            /// <value>The title.</value>
-            public string Title { get; set; }
-            /// <summary>
-            /// Gets or sets the vote_average.
-            /// </summary>
-            /// <value>The vote_average.</value>
-            public double Vote_Average { get; set; }
-            /// <summary>
-            /// For collection search results
-            /// </summary>
-            public string Name { get; set; }
-            /// <summary>
-            /// Gets or sets the vote_count.
-            /// </summary>
-            /// <value>The vote_count.</value>
-            public int Vote_Count { get; set; }
+        /// <summary>
+        /// Gets or sets a value indicating whether this <see cref="MovieResult" /> is adult.
+        /// </summary>
+        /// <value><c>true</c> if adult; otherwise, <c>false</c>.</value>
+        public bool Adult { get; set; }
+        /// <summary>
+        /// Gets or sets the backdrop_path.
+        /// </summary>
+        /// <value>The backdrop_path.</value>
+        public string Backdrop_Path { get; set; }
+        /// <summary>
+        /// Gets or sets the id.
+        /// </summary>
+        /// <value>The id.</value>
+        public int Id { get; set; }
+        /// <summary>
+        /// Gets or sets the original_title.
+        /// </summary>
+        /// <value>The original_title.</value>
+        public string Original_Title { get; set; }
+        /// <summary>
+        /// Gets or sets the original_name.
+        /// </summary>
+        /// <value>The original_name.</value>
+        public string Original_Name { get; set; }
+        /// <summary>
+        /// Gets or sets the release_date.
+        /// </summary>
+        /// <value>The release_date.</value>
+        public string Release_Date { get; set; }
+        /// <summary>
+        /// Gets or sets the poster_path.
+        /// </summary>
+        /// <value>The poster_path.</value>
+        public string Poster_Path { get; set; }
+        /// <summary>
+        /// Gets or sets the popularity.
+        /// </summary>
+        /// <value>The popularity.</value>
+        public double Popularity { get; set; }
+        /// <summary>
+        /// Gets or sets the title.
+        /// </summary>
+        /// <value>The title.</value>
+        public string Title { get; set; }
+        /// <summary>
+        /// Gets or sets the vote_average.
+        /// </summary>
+        /// <value>The vote_average.</value>
+        public double Vote_Average { get; set; }
+        /// <summary>
+        /// For collection search results
+        /// </summary>
+        public string Name { get; set; }
+        /// <summary>
+        /// Gets or sets the vote_count.
+        /// </summary>
+        /// <value>The vote_count.</value>
+        public int Vote_Count { get; set; }
     }
 }