Merge pull request #3343 from telans/comment-stops

Add full stop at end of comments (SA1629)
This commit is contained in:
Bond-009 2020-06-16 11:54:58 +02:00 committed by GitHub
commit 9af6eda0b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
269 changed files with 816 additions and 816 deletions

View File

@ -705,7 +705,7 @@ namespace Emby.Dlna.Didl
}
/// <summary>
/// Adds fields used by both items and folders
/// Adds fields used by both items and folders.
/// </summary>
private void AddCommonFields(BaseItem item, StubType? itemStubType, BaseItem context, XmlWriter writer, Filter filter)
{

View File

@ -475,7 +475,7 @@ namespace Emby.Dlna
/// <summary>
/// Recreates the object using serialization, to ensure it's not a subclass.
/// If it's a subclass it may not serlialize properly to xml (different root element tag name)
/// If it's a subclass it may not serlialize properly to xml (different root element tag name).
/// </summary>
/// <param name="profile"></param>
/// <returns></returns>

View File

@ -233,7 +233,7 @@ namespace Emby.Dlna.PlayTo
}
/// <summary>
/// Sets volume on a scale of 0-100
/// Sets volume on a scale of 0-100.
/// </summary>
public async Task SetVolume(int value, CancellationToken cancellationToken)
{

View File

@ -5,17 +5,17 @@ namespace Emby.Naming.Common
public enum MediaType
{
/// <summary>
/// The audio
/// The audio.
/// </summary>
Audio = 0,
/// <summary>
/// The photo
/// The photo.
/// </summary>
Photo = 1,
/// <summary>
/// The video
/// The video.
/// </summary>
Video = 2
}

View File

@ -956,7 +956,7 @@ namespace Emby.Server.Implementations
}
/// <summary>
/// Notifies that the kernel that a change has been made that requires a restart
/// Notifies that the kernel that a change has been made that requires a restart.
/// </summary>
public void NotifyPendingRestart()
{

View File

@ -247,12 +247,12 @@ namespace Emby.Server.Implementations.Data
public enum SynchronousMode
{
/// <summary>
/// SQLite continues without syncing as soon as it has handed data off to the operating system
/// SQLite continues without syncing as soon as it has handed data off to the operating system.
/// </summary>
Off = 0,
/// <summary>
/// SQLite database engine will still sync at the most critical moments
/// SQLite database engine will still sync at the most critical moments.
/// </summary>
Normal = 1,

View File

@ -59,7 +59,7 @@ namespace Emby.Server.Implementations.Data
}
/// <summary>
/// Opens the connection to the database
/// Opens the connection to the database.
/// </summary>
/// <returns>Task.</returns>
private void InitializeInternal()
@ -77,7 +77,7 @@ namespace Emby.Server.Implementations.Data
}
/// <summary>
/// Save the display preferences associated with an item in the repo
/// Save the display preferences associated with an item in the repo.
/// </summary>
/// <param name="displayPreferences">The display preferences.</param>
/// <param name="userId">The user id.</param>
@ -122,7 +122,7 @@ namespace Emby.Server.Implementations.Data
}
/// <summary>
/// Save all display preferences associated with a user in the repo
/// Save all display preferences associated with a user in the repo.
/// </summary>
/// <param name="displayPreferences">The display preferences.</param>
/// <param name="userId">The user id.</param>

View File

@ -102,7 +102,7 @@ namespace Emby.Server.Implementations.Data
protected override TempStoreMode TempStore => TempStoreMode.Memory;
/// <summary>
/// Opens the connection to the database
/// Opens the connection to the database.
/// </summary>
public void Initialize(SqliteUserDataRepository userDataRepo, IUserManager userManager)
{
@ -548,7 +548,7 @@ namespace Emby.Server.Implementations.Data
}
/// <summary>
/// Save a standard item in the repo
/// Save a standard item in the repo.
/// </summary>
/// <param name="item">The item.</param>
/// <param name="cancellationToken">The cancellation token.</param>
@ -1208,7 +1208,7 @@ namespace Emby.Server.Implementations.Data
}
/// <summary>
/// Internal retrieve from items or users table
/// Internal retrieve from items or users table.
/// </summary>
/// <param name="id">The id.</param>
/// <returns>BaseItem.</returns>
@ -1988,7 +1988,7 @@ namespace Emby.Server.Implementations.Data
}
/// <summary>
/// Gets chapters for an item
/// Gets chapters for an item.
/// </summary>
/// <param name="item">The item.</param>
/// <returns>IEnumerable{ChapterInfo}.</returns>
@ -2016,7 +2016,7 @@ namespace Emby.Server.Implementations.Data
}
/// <summary>
/// Gets a single chapter for an item
/// Gets a single chapter for an item.
/// </summary>
/// <param name="item">The item.</param>
/// <param name="index">The index.</param>

View File

@ -238,7 +238,7 @@ namespace Emby.Server.Implementations.Data
}
/// <summary>
/// Persist all user data for the specified user
/// Persist all user data for the specified user.
/// </summary>
private void PersistAllUserData(long internalUserId, UserItemData[] userDataList, CancellationToken cancellationToken)
{
@ -312,7 +312,7 @@ namespace Emby.Server.Implementations.Data
}
/// <summary>
/// Return all user-data associated with the given user
/// Return all user-data associated with the given user.
/// </summary>
/// <param name="internalUserId"></param>
/// <returns></returns>
@ -342,7 +342,7 @@ namespace Emby.Server.Implementations.Data
}
/// <summary>
/// Read a row from the specified reader into the provided userData object
/// Read a row from the specified reader into the provided userData object.
/// </summary>
/// <param name="reader"></param>
private UserItemData ReadRow(IReadOnlyList<IResultSetValue> reader)

View File

@ -74,7 +74,7 @@ namespace Emby.Server.Implementations.Dto
}
/// <summary>
/// Converts a BaseItem to a DTOBaseItem
/// Converts a BaseItem to a DTOBaseItem.
/// </summary>
/// <param name="item">The item.</param>
/// <param name="fields">The fields.</param>
@ -444,7 +444,7 @@ namespace Emby.Server.Implementations.Dto
}
/// <summary>
/// Gets client-side Id of a server-side BaseItem
/// Gets client-side Id of a server-side BaseItem.
/// </summary>
/// <param name="item">The item.</param>
/// <returns>System.String.</returns>
@ -540,7 +540,7 @@ namespace Emby.Server.Implementations.Dto
}
/// <summary>
/// Attaches People DTO's to a DTOBaseItem
/// Attaches People DTO's to a DTOBaseItem.
/// </summary>
/// <param name="dto">The dto.</param>
/// <param name="item">The item.</param>
@ -733,7 +733,7 @@ namespace Emby.Server.Implementations.Dto
}
/// <summary>
/// Sets simple property values on a DTOBaseItem
/// Sets simple property values on a DTOBaseItem.
/// </summary>
/// <param name="dto">The dto.</param>
/// <param name="item">The item.</param>

View File

@ -140,7 +140,7 @@ namespace Emby.Server.Implementations.HttpClientManager
=> SendAsync(options, HttpMethod.Get);
/// <summary>
/// Performs a GET request and returns the resulting stream
/// Performs a GET request and returns the resulting stream.
/// </summary>
/// <param name="options">The options.</param>
/// <returns>Task{Stream}.</returns>

View File

@ -32,12 +32,12 @@ namespace Emby.Server.Implementations.HttpServer
private readonly IFileSystem _fileSystem;
/// <summary>
/// The _options
/// The _options.
/// </summary>
private readonly IDictionary<string, string> _options = new Dictionary<string, string>();
/// <summary>
/// The _requested ranges
/// The _requested ranges.
/// </summary>
private List<KeyValuePair<long, long?>> _requestedRanges;

View File

@ -592,7 +592,7 @@ namespace Emby.Server.Implementations.HttpServer
}
/// <summary>
/// Get the default CORS headers
/// Get the default CORS headers.
/// </summary>
/// <param name="req"></param>
/// <returns></returns>

View File

@ -692,7 +692,7 @@ namespace Emby.Server.Implementations.HttpServer
/// <summary>
/// When the browser sends the IfModifiedDate, it's precision is limited to seconds, so this will account for that
/// When the browser sends the IfModifiedDate, it's precision is limited to seconds, so this will account for that.
/// </summary>
/// <param name="date">The date.</param>
/// <returns>DateTime.</returns>

View File

@ -40,17 +40,17 @@ namespace Emby.Server.Implementations.HttpServer
private const int BufferSize = 81920;
/// <summary>
/// The _options
/// The _options.
/// </summary>
private readonly Dictionary<string, string> _options = new Dictionary<string, string>();
/// <summary>
/// The us culture
/// The us culture.
/// </summary>
private static readonly CultureInfo UsCulture = new CultureInfo("en-US");
/// <summary>
/// Additional HTTP Headers
/// Additional HTTP Headers.
/// </summary>
/// <value>The headers.</value>
public IDictionary<string, string> Headers => _options;
@ -116,7 +116,7 @@ namespace Emby.Server.Implementations.HttpServer
}
/// <summary>
/// The _requested ranges
/// The _requested ranges.
/// </summary>
private List<KeyValuePair<long, long?>> _requestedRanges;
/// <summary>

View File

@ -8,7 +8,7 @@ using MediaBrowser.Model.IO;
namespace Emby.Server.Implementations.Library
{
/// <summary>
/// Provides the core resolver ignore rules
/// Provides the core resolver ignore rules.
/// </summary>
public class CoreResolutionIgnoreRule : IResolverIgnoreRule
{

View File

@ -4,12 +4,12 @@ using DotNet.Globbing;
namespace Emby.Server.Implementations.Library
{
/// <summary>
/// Glob patterns for files to ignore
/// Glob patterns for files to ignore.
/// </summary>
public static class IgnorePatterns
{
/// <summary>
/// Files matching these glob patterns will be ignored
/// Files matching these glob patterns will be ignored.
/// </summary>
public static readonly string[] Patterns = new string[]
{
@ -64,7 +64,7 @@ namespace Emby.Server.Implementations.Library
private static readonly Glob[] _globs = Patterns.Select(p => Glob.Parse(p, _globOptions)).ToArray();
/// <summary>
/// Returns true if the supplied path should be ignored
/// Returns true if the supplied path should be ignored.
/// </summary>
public static bool ShouldIgnore(string path)
{

View File

@ -97,13 +97,13 @@ namespace Emby.Server.Implementations.Library
private IIntroProvider[] IntroProviders { get; set; }
/// <summary>
/// Gets or sets the list of entity resolution ignore rules
/// Gets or sets the list of entity resolution ignore rules.
/// </summary>
/// <value>The entity resolution ignore rules.</value>
private IResolverIgnoreRule[] EntityResolutionIgnoreRules { get; set; }
/// <summary>
/// Gets or sets the list of currently registered entity resolvers
/// Gets or sets the list of currently registered entity resolvers.
/// </summary>
/// <value>The entity resolvers enumerable.</value>
private IItemResolver[] EntityResolvers { get; set; }
@ -209,12 +209,12 @@ namespace Emby.Server.Implementations.Library
}
/// <summary>
/// The _root folder
/// The _root folder.
/// </summary>
private volatile AggregateFolder _rootFolder;
/// <summary>
/// The _root folder sync lock
/// The _root folder sync lock.
/// </summary>
private readonly object _rootFolderSyncLock = new object();
@ -627,7 +627,7 @@ namespace Emby.Server.Implementations.Library
}
/// <summary>
/// Determines whether a path should be ignored based on its contents - called after the contents have been read
/// Determines whether a path should be ignored based on its contents - called after the contents have been read.
/// </summary>
/// <param name="args">The args.</param>
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns>
@ -909,7 +909,7 @@ namespace Emby.Server.Implementations.Library
}
/// <summary>
/// Gets a Genre
/// Gets a Genre.
/// </summary>
/// <param name="name">The name.</param>
/// <returns>Task{Genre}.</returns>
@ -990,7 +990,7 @@ namespace Emby.Server.Implementations.Library
}
/// <summary>
/// Reloads the root media folder
/// Reloads the root media folder.
/// </summary>
/// <param name="progress">The progress.</param>
/// <param name="cancellationToken">The cancellation token.</param>

View File

@ -107,7 +107,7 @@ namespace Emby.Server.Implementations.Library
}
/// <summary>
/// Ensures DateCreated and DateModified have values
/// Ensures DateCreated and DateModified have values.
/// </summary>
/// <param name="fileSystem">The file system.</param>
/// <param name="item">The item.</param>

View File

@ -28,7 +28,7 @@ namespace Emby.Server.Implementations.Library.Resolvers
public virtual ResolverPriority Priority => ResolverPriority.First;
/// <summary>
/// Sets initial values on the newly resolved item
/// Sets initial values on the newly resolved item.
/// </summary>
/// <param name="item">The item.</param>
/// <param name="args">The args.</param>

View File

@ -103,7 +103,7 @@ namespace Emby.Server.Implementations.Library
}
/// <summary>
/// Retrieve all user data for the given user
/// Retrieve all user data for the given user.
/// </summary>
/// <param name="userId"></param>
/// <returns></returns>
@ -188,7 +188,7 @@ namespace Emby.Server.Implementations.Library
}
/// <summary>
/// Converts a UserItemData to a DTOUserItemData
/// Converts a UserItemData to a DTOUserItemData.
/// </summary>
/// <param name="data">The data.</param>
/// <returns>DtoUserItemData.</returns>

View File

@ -35,7 +35,7 @@ namespace Emby.Server.Implementations.LiveTv
}
/// <summary>
/// Creates the triggers that define when the task will run
/// Creates the triggers that define when the task will run.
/// </summary>
/// <returns>IEnumerable{BaseTaskTrigger}.</returns>
public IEnumerable<TaskTriggerInfo> GetDefaultTriggers()

View File

@ -411,7 +411,7 @@ namespace Emby.Server.Implementations.Networking
}
/// <summary>
/// Gets a random port number that is currently available
/// Gets a random port number that is currently available.
/// </summary>
/// <returns>System.Int32.</returns>
public int GetRandomUnusedTcpPort()

View File

@ -18,7 +18,7 @@ using Microsoft.Extensions.Logging;
namespace Emby.Server.Implementations.ScheduledTasks
{
/// <summary>
/// Class ScheduledTaskWorker
/// Class ScheduledTaskWorker.
/// </summary>
public class ScheduledTaskWorker : IScheduledTaskWorker
{
@ -111,11 +111,11 @@ namespace Emby.Server.Implementations.ScheduledTasks
private bool _readFromFile = false;
/// <summary>
/// The _last execution result
/// The _last execution result.
/// </summary>
private TaskResult _lastExecutionResult;
/// <summary>
/// The _last execution result sync lock
/// The _last execution result sync lock.
/// </summary>
private readonly object _lastExecutionResultSyncLock = new object();
/// <summary>
@ -184,7 +184,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
public string Category => ScheduledTask.Category;
/// <summary>
/// Gets the current cancellation token
/// Gets the current cancellation token.
/// </summary>
/// <value>The current cancellation token source.</value>
private CancellationTokenSource CurrentCancellationTokenSource { get; set; }
@ -281,7 +281,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
}
/// <summary>
/// The _id
/// The _id.
/// </summary>
private string _id;
@ -361,7 +361,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
private Task _currentTask;
/// <summary>
/// Executes the task
/// Executes the task.
/// </summary>
/// <param name="options">Task options.</param>
/// <returns>Task.</returns>
@ -456,7 +456,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
}
/// <summary>
/// Stops the task if it is currently executing
/// Stops the task if it is currently executing.
/// </summary>
/// <exception cref="InvalidOperationException">Cannot cancel a Task unless it is in the Running state.</exception>
public void Cancel()
@ -688,7 +688,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
}
/// <summary>
/// Converts a TaskTriggerInfo into a concrete BaseTaskTrigger
/// Converts a TaskTriggerInfo into a concrete BaseTaskTrigger.
/// </summary>
/// <param name="info">The info.</param>
/// <returns>BaseTaskTrigger.</returns>
@ -758,7 +758,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
}
/// <summary>
/// Disposes each trigger
/// Disposes each trigger.
/// </summary>
private void DisposeTriggers()
{

View File

@ -15,7 +15,7 @@ using Microsoft.Extensions.Logging;
namespace Emby.Server.Implementations.ScheduledTasks
{
/// <summary>
/// Class TaskManager
/// Class TaskManager.
/// </summary>
public class TaskManager : ITaskManager
{
@ -23,13 +23,13 @@ namespace Emby.Server.Implementations.ScheduledTasks
public event EventHandler<TaskCompletionEventArgs> TaskCompleted;
/// <summary>
/// Gets the list of Scheduled Tasks
/// Gets the list of Scheduled Tasks.
/// </summary>
/// <value>The scheduled tasks.</value>
public IScheduledTaskWorker[] ScheduledTasks { get; private set; }
/// <summary>
/// The _task queue
/// The _task queue.
/// </summary>
private readonly ConcurrentQueue<Tuple<Type, TaskOptions>> _taskQueue =
new ConcurrentQueue<Tuple<Type, TaskOptions>>();
@ -81,7 +81,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
}
/// <summary>
/// Cancels if running
/// Cancels if running.
/// </summary>
/// <typeparam name="T"></typeparam>
public void CancelIfRunning<T>()

View File

@ -13,7 +13,7 @@ using MediaBrowser.Model.Globalization;
namespace Emby.Server.Implementations.ScheduledTasks.Tasks
{
/// <summary>
/// Deletes old cache files
/// Deletes old cache files.
/// </summary>
public class DeleteCacheFileTask : IScheduledTask, IConfigurableScheduledTask
{
@ -44,7 +44,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
}
/// <summary>
/// Creates the triggers that define when the task will run
/// Creates the triggers that define when the task will run.
/// </summary>
/// <returns>IEnumerable{BaseTaskTrigger}.</returns>
public IEnumerable<TaskTriggerInfo> GetDefaultTriggers()
@ -57,7 +57,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
}
/// <summary>
/// Returns the task to be executed
/// Returns the task to be executed.
/// </summary>
/// <param name="cancellationToken">The cancellation token.</param>
/// <param name="progress">The progress.</param>
@ -93,7 +93,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
/// <summary>
/// Deletes the cache files from directory with a last write time less than a given date
/// Deletes the cache files from directory with a last write time less than a given date.
/// </summary>
/// <param name="cancellationToken">The task cancellation token.</param>
/// <param name="directory">The directory.</param>

View File

@ -13,7 +13,7 @@ using MediaBrowser.Model.Globalization;
namespace Emby.Server.Implementations.ScheduledTasks.Tasks
{
/// <summary>
/// Deletes all transcoding temp files
/// Deletes all transcoding temp files.
/// </summary>
public class DeleteTranscodeFileTask : IScheduledTask, IConfigurableScheduledTask
{

View File

@ -28,7 +28,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
private Timer Timer { get; set; }
/// <summary>
/// Stars waiting for the trigger action
/// Stars waiting for the trigger action.
/// </summary>
/// <param name="lastResult">The last result.</param>
/// <param name="logger">The logger.</param>
@ -51,7 +51,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
}
/// <summary>
/// Stops waiting for the trigger action
/// Stops waiting for the trigger action.
/// </summary>
public void Stop()
{

View File

@ -7,7 +7,7 @@ using Microsoft.Extensions.Logging;
namespace Emby.Server.Implementations.ScheduledTasks
{
/// <summary>
/// Represents a task trigger that runs repeatedly on an interval
/// Represents a task trigger that runs repeatedly on an interval.
/// </summary>
public class IntervalTrigger : ITaskTrigger
{
@ -31,7 +31,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
private DateTime _lastStartDate;
/// <summary>
/// Stars waiting for the trigger action
/// Stars waiting for the trigger action.
/// </summary>
/// <param name="lastResult">The last result.</param>
/// <param name="logger">The logger.</param>
@ -70,7 +70,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
}
/// <summary>
/// Stops waiting for the trigger action
/// Stops waiting for the trigger action.
/// </summary>
public void Stop()
{

View File

@ -25,7 +25,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
}
/// <summary>
/// Stars waiting for the trigger action
/// Stars waiting for the trigger action.
/// </summary>
/// <param name="lastResult">The last result.</param>
/// <param name="logger">The logger.</param>
@ -42,7 +42,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
}
/// <summary>
/// Stops waiting for the trigger action
/// Stops waiting for the trigger action.
/// </summary>
public void Stop()
{

View File

@ -6,12 +6,12 @@ using Microsoft.Extensions.Logging;
namespace Emby.Server.Implementations.ScheduledTasks
{
/// <summary>
/// Represents a task trigger that fires on a weekly basis
/// Represents a task trigger that fires on a weekly basis.
/// </summary>
public class WeeklyTrigger : ITaskTrigger
{
/// <summary>
/// Get the time of day to trigger the task to run
/// Get the time of day to trigger the task to run.
/// </summary>
/// <value>The time of day.</value>
public TimeSpan TimeOfDay { get; set; }
@ -34,7 +34,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
private Timer Timer { get; set; }
/// <summary>
/// Stars waiting for the trigger action
/// Stars waiting for the trigger action.
/// </summary>
/// <param name="lastResult">The last result.</param>
/// <param name="logger">The logger.</param>
@ -77,7 +77,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
}
/// <summary>
/// Stops waiting for the trigger action
/// Stops waiting for the trigger action.
/// </summary>
public void Stop()
{

View File

@ -180,7 +180,7 @@ namespace Emby.Server.Implementations.Services
=> string.Equals(method, expected, StringComparison.OrdinalIgnoreCase);
/// <summary>
/// Duplicate params have their values joined together in a comma-delimited string
/// Duplicate params have their values joined together in a comma-delimited string.
/// </summary>
private static Dictionary<string, string> GetFlattenedRequestParams(HttpRequest request)
{

View File

@ -9,7 +9,7 @@ namespace Emby.Server.Implementations.Services
/// Donated by Ivan Korneliuk from his post:
/// http://korneliuk.blogspot.com/2012/08/servicestack-reusing-dtos.html
///
/// Modified to only allow using routes matching the supplied HTTP Verb
/// Modified to only allow using routes matching the supplied HTTP Verb.
/// </summary>
public static class UrlExtensions
{

View File

@ -843,7 +843,7 @@ namespace Emby.Server.Implementations.Session
}
/// <summary>
/// Used to report that playback has ended for an item
/// Used to report that playback has ended for an item.
/// </summary>
/// <param name="info">The info.</param>
/// <returns>Task.</returns>

View File

@ -14,7 +14,7 @@ using Microsoft.Extensions.Logging;
namespace Emby.Server.Implementations.Session
{
/// <summary>
/// Class SessionWebSocketListener
/// Class SessionWebSocketListener.
/// </summary>
public sealed class SessionWebSocketListener : IWebSocketListener, IDisposable
{
@ -34,12 +34,12 @@ namespace Emby.Server.Implementations.Session
public const float ForceKeepAliveFactor = 0.75f;
/// <summary>
/// The _session manager
/// The _session manager.
/// </summary>
private readonly ISessionManager _sessionManager;
/// <summary>
/// The _logger
/// The _logger.
/// </summary>
private readonly ILogger<SessionWebSocketListener> _logger;
private readonly ILoggerFactory _loggerFactory;

View File

@ -8,7 +8,7 @@ using MediaBrowser.Model.Querying;
namespace Emby.Server.Implementations.Sorting
{
/// <summary>
/// Class AlbumArtistComparer
/// Class AlbumArtistComparer.
/// </summary>
public class AlbumArtistComparer : IBaseItemComparer
{

View File

@ -7,7 +7,7 @@ using MediaBrowser.Model.Querying;
namespace Emby.Server.Implementations.Sorting
{
/// <summary>
/// Class AlbumComparer
/// Class AlbumComparer.
/// </summary>
public class AlbumComparer : IBaseItemComparer
{

View File

@ -5,7 +5,7 @@ using MediaBrowser.Model.Querying;
namespace Emby.Server.Implementations.Sorting
{
/// <summary>
/// Class CriticRatingComparer
/// Class CriticRatingComparer.
/// </summary>
public class CriticRatingComparer : IBaseItemComparer
{

View File

@ -6,7 +6,7 @@ using MediaBrowser.Model.Querying;
namespace Emby.Server.Implementations.Sorting
{
/// <summary>
/// Class DateCreatedComparer
/// Class DateCreatedComparer.
/// </summary>
public class DateCreatedComparer : IBaseItemComparer
{

View File

@ -8,7 +8,7 @@ using MediaBrowser.Model.Querying;
namespace Emby.Server.Implementations.Sorting
{
/// <summary>
/// Class DatePlayedComparer
/// Class DatePlayedComparer.
/// </summary>
public class DatePlayedComparer : IUserBaseItemComparer
{

View File

@ -6,7 +6,7 @@ using MediaBrowser.Model.Querying;
namespace Emby.Server.Implementations.Sorting
{
/// <summary>
/// Class NameComparer
/// Class NameComparer.
/// </summary>
public class NameComparer : IBaseItemComparer
{

View File

@ -7,7 +7,7 @@ using MediaBrowser.Model.Querying;
namespace Emby.Server.Implementations.Sorting
{
/// <summary>
/// Class PlayCountComparer
/// Class PlayCountComparer.
/// </summary>
public class PlayCountComparer : IUserBaseItemComparer
{

View File

@ -6,7 +6,7 @@ using MediaBrowser.Model.Querying;
namespace Emby.Server.Implementations.Sorting
{
/// <summary>
/// Class PremiereDateComparer
/// Class PremiereDateComparer.
/// </summary>
public class PremiereDateComparer : IBaseItemComparer
{

View File

@ -5,7 +5,7 @@ using MediaBrowser.Model.Querying;
namespace Emby.Server.Implementations.Sorting
{
/// <summary>
/// Class ProductionYearComparer
/// Class ProductionYearComparer.
/// </summary>
public class ProductionYearComparer : IBaseItemComparer
{

View File

@ -6,7 +6,7 @@ using MediaBrowser.Model.Querying;
namespace Emby.Server.Implementations.Sorting
{
/// <summary>
/// Class RandomComparer
/// Class RandomComparer.
/// </summary>
public class RandomComparer : IBaseItemComparer
{

View File

@ -6,7 +6,7 @@ using MediaBrowser.Model.Querying;
namespace Emby.Server.Implementations.Sorting
{
/// <summary>
/// Class RuntimeComparer
/// Class RuntimeComparer.
/// </summary>
public class RuntimeComparer : IBaseItemComparer
{

View File

@ -6,7 +6,7 @@ using MediaBrowser.Model.Querying;
namespace Emby.Server.Implementations.Sorting
{
/// <summary>
/// Class SortNameComparer
/// Class SortNameComparer.
/// </summary>
public class SortNameComparer : IBaseItemComparer
{

View File

@ -18,7 +18,7 @@ namespace Emby.Server.Implementations.Udp
public sealed class UdpServer : IDisposable
{
/// <summary>
/// The _logger
/// The _logger.
/// </summary>
private readonly ILogger _logger;
private readonly IServerApplicationHost _appHost;

View File

@ -24,7 +24,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="path"></param>
/// <param name="kind"></param>
@ -64,7 +64,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -77,7 +77,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -102,7 +102,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Path
/// Backing field for Path.
/// </summary>
protected string _Path;
/// <summary>
@ -141,7 +141,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Kind
/// Backing field for Kind.
/// </summary>
internal Enums.ArtKind _Kind;
/// <summary>
@ -154,7 +154,7 @@ namespace Jellyfin.Data.Entities
partial void GetKind(ref Enums.ArtKind result);
/// <summary>
/// Indexed, Required
/// Indexed, Required.
/// </summary>
[Required]
public Enums.ArtKind Kind
@ -178,7 +178,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]

View File

@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
public Book(Guid urlid, DateTime dateadded)

View File

@ -27,7 +27,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="title">The title or name of the object</param>
/// <param name="language">ISO-639-3 3-character language codes</param>
@ -64,7 +64,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for ISBN
/// Backing field for ISBN.
/// </summary>
protected long? _ISBN;
/// <summary>

View File

@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="language">ISO-639-3 3-character language codes</param>
/// <param name="timestart"></param>
@ -60,7 +60,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -73,7 +73,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -99,7 +99,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Name
/// Backing field for Name.
/// </summary>
protected string _Name;
/// <summary>
@ -137,7 +137,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Language
/// Backing field for Language.
/// </summary>
protected string _Language;
/// <summary>
@ -151,7 +151,7 @@ namespace Jellyfin.Data.Entities
/// <summary>
/// Required, Min length = 3, Max length = 3
/// ISO-639-3 3-character language codes
/// ISO-639-3 3-character language codes.
/// </summary>
[Required]
[MinLength(3)]
@ -178,7 +178,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for TimeStart
/// Backing field for TimeStart.
/// </summary>
protected long _TimeStart;
/// <summary>
@ -191,7 +191,7 @@ namespace Jellyfin.Data.Entities
partial void GetTimeStart(ref long result);
/// <summary>
/// Required
/// Required.
/// </summary>
[Required]
public long TimeStart
@ -215,7 +215,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for TimeEnd
/// Backing field for TimeEnd.
/// </summary>
protected long? _TimeEnd;
/// <summary>
@ -248,7 +248,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]

View File

@ -9,7 +9,7 @@ namespace Jellyfin.Data.Entities
partial void Init();
/// <summary>
/// Default constructor
/// Default constructor.
/// </summary>
public Collection()
{
@ -23,7 +23,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -36,7 +36,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -62,7 +62,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Name
/// Backing field for Name.
/// </summary>
protected string _Name;
/// <summary>
@ -100,7 +100,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]

View File

@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="_collection0"></param>
/// <param name="_collectionitem1"></param>
@ -67,7 +67,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -80,7 +80,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -106,7 +106,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]
@ -122,7 +122,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Required
/// Required.
/// </summary>
[ForeignKey("LibraryItem_Id")]
public virtual LibraryItem LibraryItem { get; set; }

View File

@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="_moviemetadata0"></param>
/// <param name="_seriesmetadata1"></param>
@ -75,7 +75,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -88,7 +88,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -114,7 +114,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]

View File

@ -24,7 +24,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="title">The title or name of the object</param>
/// <param name="language">ISO-639-3 3-character language codes</param>
@ -60,7 +60,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Description
/// Backing field for Description.
/// </summary>
protected string _Description;
/// <summary>
@ -98,7 +98,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Headquarters
/// Backing field for Headquarters.
/// </summary>
protected string _Headquarters;
/// <summary>
@ -136,7 +136,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Country
/// Backing field for Country.
/// </summary>
protected string _Country;
/// <summary>
@ -174,7 +174,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Homepage
/// Backing field for Homepage.
/// </summary>
protected string _Homepage;
/// <summary>

View File

@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
public CustomItem(Guid urlid, DateTime dateadded)

View File

@ -23,7 +23,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="title">The title or name of the object</param>
/// <param name="language">ISO-639-3 3-character language codes</param>

View File

@ -31,7 +31,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
/// <param name="_season0"></param>
@ -66,7 +66,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for EpisodeNumber
/// Backing field for EpisodeNumber.
/// </summary>
protected int? _EpisodeNumber;
/// <summary>

View File

@ -24,7 +24,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="title">The title or name of the object</param>
/// <param name="language">ISO-639-3 3-character language codes</param>
@ -60,7 +60,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Outline
/// Backing field for Outline.
/// </summary>
protected string _Outline;
/// <summary>
@ -98,7 +98,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Plot
/// Backing field for Plot.
/// </summary>
protected string _Plot;
/// <summary>
@ -136,7 +136,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Tagline
/// Backing field for Tagline.
/// </summary>
protected string _Tagline;
/// <summary>

View File

@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="name"></param>
/// <param name="_metadata0"></param>
@ -56,7 +56,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -69,7 +69,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -95,7 +95,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Name
/// Backing field for Name.
/// </summary>
internal string _Name;
/// <summary>
@ -134,7 +134,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]

View File

@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="name"></param>
public Library(string name)
@ -51,7 +51,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -64,7 +64,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -90,7 +90,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Name
/// Backing field for Name.
/// </summary>
protected string _Name;
/// <summary>
@ -129,7 +129,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]

View File

@ -17,7 +17,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
protected LibraryItem(Guid urlid, DateTime dateadded)
@ -33,7 +33,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -46,7 +46,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -72,7 +72,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for UrlId
/// Backing field for UrlId.
/// </summary>
internal Guid _UrlId;
/// <summary>
@ -110,7 +110,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for DateAdded
/// Backing field for DateAdded.
/// </summary>
protected DateTime _DateAdded;
/// <summary>
@ -123,7 +123,7 @@ namespace Jellyfin.Data.Entities
partial void GetDateAdded(ref DateTime result);
/// <summary>
/// Required
/// Required.
/// </summary>
[Required]
public DateTime DateAdded
@ -147,7 +147,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]
@ -163,7 +163,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Required
/// Required.
/// </summary>
[ForeignKey("LibraryRoot_Id")]
public virtual LibraryRoot LibraryRoot { get; set; }

View File

@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="path">Absolute Path</param>
public LibraryRoot(string path)
@ -51,7 +51,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -64,7 +64,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -90,7 +90,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Path
/// Backing field for Path.
/// </summary>
protected string _Path;
/// <summary>
@ -104,7 +104,7 @@ namespace Jellyfin.Data.Entities
/// <summary>
/// Required, Max length = 65535
/// Absolute Path
/// Absolute Path.
/// </summary>
[Required]
[MaxLength(65535)]
@ -130,7 +130,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for NetworkPath
/// Backing field for NetworkPath.
/// </summary>
protected string _NetworkPath;
/// <summary>
@ -169,7 +169,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]
@ -185,7 +185,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Required
/// Required.
/// </summary>
[ForeignKey("Library_Id")]
public virtual Library Library { get; set; }

View File

@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="path">Relative to the LibraryRoot</param>
/// <param name="kind"></param>
@ -64,7 +64,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -77,7 +77,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -103,7 +103,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Path
/// Backing field for Path.
/// </summary>
protected string _Path;
/// <summary>
@ -117,7 +117,7 @@ namespace Jellyfin.Data.Entities
/// <summary>
/// Required, Max length = 65535
/// Relative to the LibraryRoot
/// Relative to the LibraryRoot.
/// </summary>
[Required]
[MaxLength(65535)]
@ -143,7 +143,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Kind
/// Backing field for Kind.
/// </summary>
protected Enums.MediaFileKind _Kind;
/// <summary>
@ -156,7 +156,7 @@ namespace Jellyfin.Data.Entities
partial void GetKind(ref Enums.MediaFileKind result);
/// <summary>
/// Required
/// Required.
/// </summary>
[Required]
public Enums.MediaFileKind Kind
@ -180,7 +180,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]

View File

@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="streamnumber"></param>
/// <param name="_mediafile0"></param>
@ -55,7 +55,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -68,7 +68,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -94,7 +94,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for StreamNumber
/// Backing field for StreamNumber.
/// </summary>
protected int _StreamNumber;
/// <summary>
@ -107,7 +107,7 @@ namespace Jellyfin.Data.Entities
partial void GetStreamNumber(ref int result);
/// <summary>
/// Required
/// Required.
/// </summary>
[Required]
public int StreamNumber
@ -131,7 +131,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]

View File

@ -24,7 +24,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="title">The title or name of the object</param>
/// <param name="language">ISO-639-3 3-character language codes</param>
@ -50,7 +50,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -63,7 +63,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -89,7 +89,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Title
/// Backing field for Title.
/// </summary>
protected string _Title;
/// <summary>
@ -103,7 +103,7 @@ namespace Jellyfin.Data.Entities
/// <summary>
/// Required, Max length = 1024
/// The title or name of the object
/// The title or name of the object.
/// </summary>
[Required]
[MaxLength(1024)]
@ -129,7 +129,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for OriginalTitle
/// Backing field for OriginalTitle.
/// </summary>
protected string _OriginalTitle;
/// <summary>
@ -167,7 +167,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for SortTitle
/// Backing field for SortTitle.
/// </summary>
protected string _SortTitle;
/// <summary>
@ -205,7 +205,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Language
/// Backing field for Language.
/// </summary>
protected string _Language;
/// <summary>
@ -219,7 +219,7 @@ namespace Jellyfin.Data.Entities
/// <summary>
/// Required, Min length = 3, Max length = 3
/// ISO-639-3 3-character language codes
/// ISO-639-3 3-character language codes.
/// </summary>
[Required]
[MinLength(3)]
@ -246,7 +246,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for ReleaseDate
/// Backing field for ReleaseDate.
/// </summary>
protected DateTimeOffset? _ReleaseDate;
/// <summary>
@ -279,7 +279,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for DateAdded
/// Backing field for DateAdded.
/// </summary>
protected DateTime _DateAdded;
/// <summary>
@ -292,7 +292,7 @@ namespace Jellyfin.Data.Entities
partial void GetDateAdded(ref DateTime result);
/// <summary>
/// Required
/// Required.
/// </summary>
[Required]
public DateTime DateAdded
@ -316,7 +316,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for DateModified
/// Backing field for DateModified.
/// </summary>
protected DateTime _DateModified;
/// <summary>
@ -329,7 +329,7 @@ namespace Jellyfin.Data.Entities
partial void GetDateModified(ref DateTime result);
/// <summary>
/// Required
/// Required.
/// </summary>
[Required]
public DateTime DateModified
@ -353,7 +353,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]

View File

@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="name"></param>
public MetadataProvider(string name)
@ -51,7 +51,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -64,7 +64,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -90,7 +90,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Name
/// Backing field for Name.
/// </summary>
protected string _Name;
/// <summary>
@ -129,7 +129,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]

View File

@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="providerid"></param>
/// <param name="_metadata0"></param>
@ -77,7 +77,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -90,7 +90,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -116,7 +116,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for ProviderId
/// Backing field for ProviderId.
/// </summary>
protected string _ProviderId;
/// <summary>
@ -155,7 +155,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]
@ -171,7 +171,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Required
/// Required.
/// </summary>
[ForeignKey("MetadataProvider_Id")]
public virtual MetadataProvider MetadataProvider { get; set; }

View File

@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
public Movie(Guid urlid, DateTime dateadded)

View File

@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="title">The title or name of the object</param>
/// <param name="language">ISO-639-3 3-character language codes</param>
@ -65,7 +65,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Outline
/// Backing field for Outline.
/// </summary>
protected string _Outline;
/// <summary>
@ -103,7 +103,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Plot
/// Backing field for Plot.
/// </summary>
protected string _Plot;
/// <summary>
@ -141,7 +141,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Tagline
/// Backing field for Tagline.
/// </summary>
protected string _Tagline;
/// <summary>
@ -179,7 +179,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Country
/// Backing field for Country.
/// </summary>
protected string _Country;
/// <summary>

View File

@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
public MusicAlbum(Guid urlid, DateTime dateadded)

View File

@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="title">The title or name of the object</param>
/// <param name="language">ISO-639-3 3-character language codes</param>
@ -65,7 +65,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Barcode
/// Backing field for Barcode.
/// </summary>
protected string _Barcode;
/// <summary>
@ -103,7 +103,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for LabelNumber
/// Backing field for LabelNumber.
/// </summary>
protected string _LabelNumber;
/// <summary>
@ -141,7 +141,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Country
/// Backing field for Country.
/// </summary>
protected string _Country;
/// <summary>

View File

@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="urlid"></param>
/// <param name="name"></param>
@ -59,7 +59,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -72,7 +72,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -98,7 +98,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for UrlId
/// Backing field for UrlId.
/// </summary>
protected Guid _UrlId;
/// <summary>
@ -111,7 +111,7 @@ namespace Jellyfin.Data.Entities
partial void GetUrlId(ref Guid result);
/// <summary>
/// Required
/// Required.
/// </summary>
[Required]
public Guid UrlId
@ -135,7 +135,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Name
/// Backing field for Name.
/// </summary>
protected string _Name;
/// <summary>
@ -174,7 +174,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for SourceId
/// Backing field for SourceId.
/// </summary>
protected string _SourceId;
/// <summary>
@ -212,7 +212,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for DateAdded
/// Backing field for DateAdded.
/// </summary>
protected DateTime _DateAdded;
/// <summary>
@ -225,7 +225,7 @@ namespace Jellyfin.Data.Entities
partial void GetDateAdded(ref DateTime result);
/// <summary>
/// Required
/// Required.
/// </summary>
[Required]
public DateTime DateAdded
@ -249,7 +249,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for DateModified
/// Backing field for DateModified.
/// </summary>
protected DateTime _DateModified;
/// <summary>
@ -262,7 +262,7 @@ namespace Jellyfin.Data.Entities
partial void GetDateModified(ref DateTime result);
/// <summary>
/// Required
/// Required.
/// </summary>
[Required]
public DateTime DateModified
@ -286,7 +286,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]

View File

@ -31,7 +31,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="type"></param>
/// <param name="_metadata0"></param>
@ -65,7 +65,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -78,7 +78,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -104,7 +104,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Role
/// Backing field for Role.
/// </summary>
protected string _Role;
/// <summary>
@ -142,7 +142,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Type
/// Backing field for Type.
/// </summary>
protected Enums.PersonRoleType _Type;
/// <summary>
@ -155,7 +155,7 @@ namespace Jellyfin.Data.Entities
partial void GetType(ref Enums.PersonRoleType result);
/// <summary>
/// Required
/// Required.
/// </summary>
[Required]
public Enums.PersonRoleType Type
@ -179,7 +179,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]
@ -195,7 +195,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Required
/// Required.
/// </summary>
[ForeignKey("Person_Id")]

View File

@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
public Photo(Guid urlid, DateTime dateadded)

View File

@ -24,7 +24,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="title">The title or name of the object</param>
/// <param name="language">ISO-639-3 3-character language codes</param>

View File

@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="providername"></param>
/// <param name="providersecrets"></param>
@ -65,7 +65,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -97,7 +97,7 @@ namespace Jellyfin.Data.Entities
public string ProviderData { get; set; }
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]

View File

@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="value"></param>
/// <param name="_metadata0"></param>
@ -55,7 +55,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -68,7 +68,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -94,7 +94,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Value
/// Backing field for Value.
/// </summary>
protected double _Value;
/// <summary>
@ -107,7 +107,7 @@ namespace Jellyfin.Data.Entities
partial void GetValue(ref double result);
/// <summary>
/// Required
/// Required.
/// </summary>
[Required]
public double Value
@ -131,7 +131,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Votes
/// Backing field for Votes.
/// </summary>
protected int? _Votes;
/// <summary>
@ -164,7 +164,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]

View File

@ -5,7 +5,7 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace Jellyfin.Data.Entities
{
/// <summary>
/// This is the entity to store review ratings, not age ratings
/// This is the entity to store review ratings, not age ratings.
/// </summary>
public partial class RatingSource
{
@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="maximumvalue"></param>
/// <param name="minimumvalue"></param>
@ -62,7 +62,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -75,7 +75,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -101,7 +101,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Name
/// Backing field for Name.
/// </summary>
protected string _Name;
/// <summary>
@ -139,7 +139,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for MaximumValue
/// Backing field for MaximumValue.
/// </summary>
protected double _MaximumValue;
/// <summary>
@ -152,7 +152,7 @@ namespace Jellyfin.Data.Entities
partial void GetMaximumValue(ref double result);
/// <summary>
/// Required
/// Required.
/// </summary>
[Required]
public double MaximumValue
@ -176,7 +176,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for MinimumValue
/// Backing field for MinimumValue.
/// </summary>
protected double _MinimumValue;
/// <summary>
@ -189,7 +189,7 @@ namespace Jellyfin.Data.Entities
partial void GetMinimumValue(ref double result);
/// <summary>
/// Required
/// Required.
/// </summary>
[Required]
public double MinimumValue
@ -213,7 +213,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]

View File

@ -29,7 +29,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="name"></param>
/// <param name="_movie0"></param>
@ -87,7 +87,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Id
/// Backing field for Id.
/// </summary>
internal int _Id;
/// <summary>
@ -100,7 +100,7 @@ namespace Jellyfin.Data.Entities
partial void GetId(ref int result);
/// <summary>
/// Identity, Indexed, Required
/// Identity, Indexed, Required.
/// </summary>
[Key]
[Required]
@ -126,7 +126,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Name
/// Backing field for Name.
/// </summary>
protected string _Name;
/// <summary>
@ -165,7 +165,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Required, ConcurrenyToken
/// Required, ConcurrenyToken.
/// </summary>
[ConcurrencyCheck]
[Required]

View File

@ -31,7 +31,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
/// <param name="_series0"></param>
@ -66,7 +66,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for SeasonNumber
/// Backing field for SeasonNumber.
/// </summary>
protected int? _SeasonNumber;
/// <summary>

View File

@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="title">The title or name of the object</param>
/// <param name="language">ISO-639-3 3-character language codes</param>
@ -61,7 +61,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Outline
/// Backing field for Outline.
/// </summary>
protected string _Outline;
/// <summary>

View File

@ -20,7 +20,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
public Series(Guid urlid, DateTime dateadded)
@ -47,7 +47,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for AirsDayOfWeek
/// Backing field for AirsDayOfWeek.
/// </summary>
protected DayOfWeek? _AirsDayOfWeek;
/// <summary>
@ -80,7 +80,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for AirsTime
/// Backing field for AirsTime.
/// </summary>
protected DateTimeOffset? _AirsTime;
/// <summary>
@ -93,7 +93,7 @@ namespace Jellyfin.Data.Entities
partial void GetAirsTime(ref DateTimeOffset? result);
/// <summary>
/// The time the show airs, ignore the date portion
/// The time the show airs, ignore the date portion.
/// </summary>
public DateTimeOffset? AirsTime
{
@ -116,7 +116,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for FirstAired
/// Backing field for FirstAired.
/// </summary>
protected DateTimeOffset? _FirstAired;
/// <summary>

View File

@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="title">The title or name of the object</param>
/// <param name="language">ISO-639-3 3-character language codes</param>
@ -65,7 +65,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for Outline
/// Backing field for Outline.
/// </summary>
protected string _Outline;
/// <summary>
@ -103,7 +103,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Plot
/// Backing field for Plot.
/// </summary>
protected string _Plot;
/// <summary>
@ -141,7 +141,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Tagline
/// Backing field for Tagline.
/// </summary>
protected string _Tagline;
/// <summary>
@ -179,7 +179,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Backing field for Country
/// Backing field for Country.
/// </summary>
protected string _Country;
/// <summary>

View File

@ -31,7 +31,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
/// <param name="_musicalbum0"></param>
@ -66,7 +66,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
/// Backing field for TrackNumber
/// Backing field for TrackNumber.
/// </summary>
protected int? _TrackNumber;
/// <summary>

View File

@ -24,7 +24,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Public constructor with required data
/// Public constructor with required data.
/// </summary>
/// <param name="title">The title or name of the object</param>
/// <param name="language">ISO-639-3 3-character language codes</param>

View File

@ -26,7 +26,7 @@ namespace Jellyfin.Data.Enums
EnabledDevices = 3,
/// <summary>
/// A list of enabled channels
/// A list of enabled channels.
/// </summary>
EnabledChannels = 4,

View File

@ -101,7 +101,7 @@ namespace Jellyfin.Server.Implementations
/// <summary>
/// Repository for global::Jellyfin.Data.Entities.RatingSource - This is the entity to
/// store review ratings, not age ratings
/// store review ratings, not age ratings.
/// </summary>
public virtual DbSet<RatingSource> RatingSources { get; set; }

View File

@ -43,7 +43,7 @@ namespace MediaBrowser.Api
private readonly IMediaSourceManager _mediaSourceManager;
/// <summary>
/// The active transcoding jobs
/// The active transcoding jobs.
/// </summary>
private readonly List<TranscodingJob> _activeTranscodingJobs = new List<TranscodingJob>();
@ -293,7 +293,7 @@ namespace MediaBrowser.Api
/// <summary>
/// <summary>
/// The progressive
/// The progressive.
/// </summary>
/// Called when [transcode failed to start].
/// </summary>

View File

@ -17,7 +17,7 @@ using Microsoft.Extensions.Logging;
namespace MediaBrowser.Api
{
/// <summary>
/// Class BaseApiService
/// Class BaseApiService.
/// </summary>
public abstract class BaseApiService : IService, IRequiresRequest
{

View File

@ -36,7 +36,7 @@ namespace MediaBrowser.Api
public int? StartIndex { get; set; }
/// <summary>
/// The maximum number of items to return
/// The maximum number of items to return.
/// </summary>
/// <value>The limit.</value>
[ApiMember(Name = "Limit", Description = "Optional. The maximum number of records to return", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
@ -90,7 +90,7 @@ namespace MediaBrowser.Api
public int? StartIndex { get; set; }
/// <summary>
/// The maximum number of items to return
/// The maximum number of items to return.
/// </summary>
/// <value>The limit.</value>
[ApiMember(Name = "Limit", Description = "Optional. The maximum number of records to return", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
@ -149,7 +149,7 @@ namespace MediaBrowser.Api
public int? StartIndex { get; set; }
/// <summary>
/// The maximum number of items to return
/// The maximum number of items to return.
/// </summary>
/// <value>The limit.</value>
[ApiMember(Name = "Limit", Description = "Optional. The maximum number of records to return", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]

View File

@ -11,7 +11,7 @@ using Microsoft.Extensions.Logging;
namespace MediaBrowser.Api
{
/// <summary>
/// Class GetConfiguration
/// Class GetConfiguration.
/// </summary>
[Route("/System/Configuration", "GET", Summary = "Gets application configuration")]
[Authenticated]
@ -28,7 +28,7 @@ namespace MediaBrowser.Api
}
/// <summary>
/// Class UpdateConfiguration
/// Class UpdateConfiguration.
/// </summary>
[Route("/System/Configuration", "POST", Summary = "Updates application configuration")]
[Authenticated(Roles = "Admin")]
@ -65,12 +65,12 @@ namespace MediaBrowser.Api
public class ConfigurationService : BaseApiService
{
/// <summary>
/// The _json serializer
/// The _json serializer.
/// </summary>
private readonly IJsonSerializer _jsonSerializer;
/// <summary>
/// The _configuration manager
/// The _configuration manager.
/// </summary>
private readonly IServerConfigurationManager _configurationManager;

View File

@ -10,7 +10,7 @@ using Microsoft.Extensions.Logging;
namespace MediaBrowser.Api
{
/// <summary>
/// Class UpdateDisplayPreferences
/// Class UpdateDisplayPreferences.
/// </summary>
[Route("/DisplayPreferences/{DisplayPreferencesId}", "POST", Summary = "Updates a user's display preferences for an item")]
public class UpdateDisplayPreferences : DisplayPreferences, IReturnVoid
@ -44,17 +44,17 @@ namespace MediaBrowser.Api
}
/// <summary>
/// Class DisplayPreferencesService
/// Class DisplayPreferencesService.
/// </summary>
[Authenticated]
public class DisplayPreferencesService : BaseApiService
{
/// <summary>
/// The _display preferences manager
/// The _display preferences manager.
/// </summary>
private readonly IDisplayPreferencesRepository _displayPreferencesManager;
/// <summary>
/// The _json serializer
/// The _json serializer.
/// </summary>
private readonly IJsonSerializer _jsonSerializer;

View File

@ -12,7 +12,7 @@ using Microsoft.Extensions.Logging;
namespace MediaBrowser.Api
{
/// <summary>
/// Class GetDirectoryContents
/// Class GetDirectoryContents.
/// </summary>
[Route("/Environment/DirectoryContents", "GET", Summary = "Gets the contents of a given directory in the file system")]
public class GetDirectoryContents : IReturn<List<FileSystemEntryInfo>>
@ -67,7 +67,7 @@ namespace MediaBrowser.Api
}
/// <summary>
/// Class GetDrives
/// Class GetDrives.
/// </summary>
[Route("/Environment/Drives", "GET", Summary = "Gets available drives from the server's file system")]
public class GetDrives : IReturn<List<FileSystemEntryInfo>>
@ -75,7 +75,7 @@ namespace MediaBrowser.Api
}
/// <summary>
/// Class GetNetworkComputers
/// Class GetNetworkComputers.
/// </summary>
[Route("/Environment/NetworkDevices", "GET", Summary = "Gets a list of devices on the network")]
public class GetNetworkDevices : IReturn<List<FileSystemEntryInfo>>
@ -104,7 +104,7 @@ namespace MediaBrowser.Api
}
/// <summary>
/// Class EnvironmentService
/// Class EnvironmentService.
/// </summary>
[Authenticated(Roles = "Admin", AllowBeforeStartupWizard = true)]
public class EnvironmentService : BaseApiService
@ -113,7 +113,7 @@ namespace MediaBrowser.Api
private const string UncSeparatorString = "\\";
/// <summary>
/// The _network manager
/// The _network manager.
/// </summary>
private readonly INetworkManager _networkManager;
private readonly IFileSystem _fileSystem;
@ -221,7 +221,7 @@ namespace MediaBrowser.Api
}
/// <summary>
/// Gets the list that is returned when an empty path is supplied
/// Gets the list that is returned when an empty path is supplied.
/// </summary>
/// <returns>IEnumerable{FileSystemEntryInfo}.</returns>
private IEnumerable<FileSystemEntryInfo> GetDrives()

View File

@ -5,7 +5,7 @@ using MediaBrowser.Model.Querying;
namespace MediaBrowser.Api
{
/// <summary>
/// Interface IHasItemFields
/// Interface IHasItemFields.
/// </summary>
public interface IHasItemFields
{

View File

@ -16,7 +16,7 @@ using Microsoft.Extensions.Logging;
namespace MediaBrowser.Api.Images
{
/// <summary>
/// Class GetGeneralImage
/// Class GetGeneralImage.
/// </summary>
[Route("/Images/General/{Name}/{Type}", "GET", Summary = "Gets a general image by name")]
public class GetGeneralImage
@ -33,7 +33,7 @@ namespace MediaBrowser.Api.Images
}
/// <summary>
/// Class GetRatingImage
/// Class GetRatingImage.
/// </summary>
[Route("/Images/Ratings/{Theme}/{Name}", "GET", Summary = "Gets a rating image by name")]
public class GetRatingImage
@ -54,7 +54,7 @@ namespace MediaBrowser.Api.Images
}
/// <summary>
/// Class GetMediaInfoImage
/// Class GetMediaInfoImage.
/// </summary>
[Route("/Images/MediaInfo/{Theme}/{Name}", "GET", Summary = "Gets a media info image by name")]
public class GetMediaInfoImage
@ -93,12 +93,12 @@ namespace MediaBrowser.Api.Images
}
/// <summary>
/// Class ImageByNameService
/// Class ImageByNameService.
/// </summary>
public class ImageByNameService : BaseApiService
{
/// <summary>
/// The _app paths
/// The _app paths.
/// </summary>
private readonly IServerApplicationPaths _appPaths;

View File

@ -4,30 +4,30 @@ using MediaBrowser.Model.Services;
namespace MediaBrowser.Api.Images
{
/// <summary>
/// Class ImageRequest
/// Class ImageRequest.
/// </summary>
public class ImageRequest : DeleteImageRequest
{
/// <summary>
/// The max width
/// The max width.
/// </summary>
[ApiMember(Name = "MaxWidth", Description = "The maximum image width to return.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
public int? MaxWidth { get; set; }
/// <summary>
/// The max height
/// The max height.
/// </summary>
[ApiMember(Name = "MaxHeight", Description = "The maximum image height to return.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
public int? MaxHeight { get; set; }
/// <summary>
/// The width
/// The width.
/// </summary>
[ApiMember(Name = "Width", Description = "The fixed image width to return.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
public int? Width { get; set; }
/// <summary>
/// The height
/// The height.
/// </summary>
[ApiMember(Name = "Height", Description = "The fixed image height to return.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
public int? Height { get; set; }
@ -79,7 +79,7 @@ namespace MediaBrowser.Api.Images
}
/// <summary>
/// Class DeleteImageRequest
/// Class DeleteImageRequest.
/// </summary>
public class DeleteImageRequest
{

View File

@ -58,7 +58,7 @@ namespace MediaBrowser.Api.Images
}
/// <summary>
/// Class UpdateItemImageIndex
/// Class UpdateItemImageIndex.
/// </summary>
[Route("/Items/{Id}/Images/{Type}/{Index}/Index", "POST", Summary = "Updates the index for an item image")]
[Authenticated(Roles = "admin")]
@ -94,7 +94,7 @@ namespace MediaBrowser.Api.Images
}
/// <summary>
/// Class GetPersonImage
/// Class GetPersonImage.
/// </summary>
[Route("/Artists/{Name}/Images/{Type}", "GET")]
[Route("/Artists/{Name}/Images/{Type}/{Index}", "GET")]
@ -131,7 +131,7 @@ namespace MediaBrowser.Api.Images
}
/// <summary>
/// Class GetUserImage
/// Class GetUserImage.
/// </summary>
[Route("/Users/{Id}/Images/{Type}", "GET")]
[Route("/Users/{Id}/Images/{Type}/{Index}", "GET")]
@ -148,7 +148,7 @@ namespace MediaBrowser.Api.Images
}
/// <summary>
/// Class DeleteItemImage
/// Class DeleteItemImage.
/// </summary>
[Route("/Items/{Id}/Images/{Type}", "DELETE")]
[Route("/Items/{Id}/Images/{Type}/{Index}", "DELETE")]
@ -164,7 +164,7 @@ namespace MediaBrowser.Api.Images
}
/// <summary>
/// Class DeleteUserImage
/// Class DeleteUserImage.
/// </summary>
[Route("/Users/{Id}/Images/{Type}", "DELETE")]
[Route("/Users/{Id}/Images/{Type}/{Index}", "DELETE")]
@ -180,7 +180,7 @@ namespace MediaBrowser.Api.Images
}
/// <summary>
/// Class PostUserImage
/// Class PostUserImage.
/// </summary>
[Route("/Users/{Id}/Images/{Type}", "POST")]
[Route("/Users/{Id}/Images/{Type}/{Index}", "POST")]
@ -195,14 +195,14 @@ namespace MediaBrowser.Api.Images
public string Id { get; set; }
/// <summary>
/// The raw Http Request Input Stream
/// The raw Http Request Input Stream.
/// </summary>
/// <value>The request stream.</value>
public Stream RequestStream { get; set; }
}
/// <summary>
/// Class PostItemImage
/// Class PostItemImage.
/// </summary>
[Route("/Items/{Id}/Images/{Type}", "POST")]
[Route("/Items/{Id}/Images/{Type}/{Index}", "POST")]
@ -217,14 +217,14 @@ namespace MediaBrowser.Api.Images
public string Id { get; set; }
/// <summary>
/// The raw Http Request Input Stream
/// The raw Http Request Input Stream.
/// </summary>
/// <value>The request stream.</value>
public Stream RequestStream { get; set; }
}
/// <summary>
/// Class ImageService
/// Class ImageService.
/// </summary>
public class ImageService : BaseApiService
{

View File

@ -33,7 +33,7 @@ namespace MediaBrowser.Api.Images
public int? StartIndex { get; set; }
/// <summary>
/// The maximum number of items to return
/// The maximum number of items to return.
/// </summary>
/// <value>The limit.</value>
[ApiMember(Name = "Limit", Description = "Optional. The maximum number of records to return", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]

Some files were not shown because too many files have changed in this diff Show More