Merge pull request #11149 from Bond-009/nullable4

Enable nullable for more files
This commit is contained in:
Bond-009
2024-03-17 18:00:10 +01:00
committed by GitHub
12 changed files with 39 additions and 80 deletions

View File

@@ -1,4 +1,3 @@
#nullable disable
#pragma warning disable CS1591
using System;
@@ -31,7 +30,7 @@ namespace MediaBrowser.Model.Search
/// Gets or sets the search term.
/// </summary>
/// <value>The search term.</value>
public string SearchTerm { get; set; }
public required string SearchTerm { get; set; }
/// <summary>
/// Gets or sets the start index. Used for paging.

View File

@@ -1,4 +1,3 @@
#nullable disable
#pragma warning disable CS1591
using System;
@@ -29,6 +28,6 @@ namespace MediaBrowser.Model.System
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public string Name { get; set; }
public required string Name { get; set; }
}
}