mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-01 05:18:27 +01:00
Fix warnings MediaBrowser.Model
This commit is contained in:
@@ -1,24 +1,27 @@
|
||||
namespace MediaBrowser.Model.IO
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum FileSystemEntryType
|
||||
/// Enum FileSystemEntryType.
|
||||
/// </summary>
|
||||
public enum FileSystemEntryType
|
||||
{
|
||||
/// <summary>
|
||||
/// The file
|
||||
/// The file.
|
||||
/// </summary>
|
||||
File,
|
||||
|
||||
/// <summary>
|
||||
/// The directory
|
||||
/// The directory.
|
||||
/// </summary>
|
||||
Directory,
|
||||
|
||||
/// <summary>
|
||||
/// The network computer
|
||||
/// The network computer.
|
||||
/// </summary>
|
||||
NetworkComputer,
|
||||
|
||||
/// <summary>
|
||||
/// The network share
|
||||
/// The network share.
|
||||
/// </summary>
|
||||
NetworkShare
|
||||
}
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.IO
|
||||
@@ -9,26 +12,31 @@ namespace MediaBrowser.Model.IO
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if exists; otherwise, <c>false</c>.</value>
|
||||
public bool Exists { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the full name.
|
||||
/// </summary>
|
||||
/// <value>The full name.</value>
|
||||
public string FullName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the extension.
|
||||
/// </summary>
|
||||
/// <value>The extension.</value>
|
||||
public string Extension { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the length.
|
||||
/// </summary>
|
||||
/// <value>The length.</value>
|
||||
public long Length { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the directory.
|
||||
/// </summary>
|
||||
@@ -40,11 +48,13 @@ namespace MediaBrowser.Model.IO
|
||||
/// </summary>
|
||||
/// <value>The last write time UTC.</value>
|
||||
public DateTime LastWriteTimeUtc { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the creation time UTC.
|
||||
/// </summary>
|
||||
/// <value>The creation time UTC.</value>
|
||||
public DateTime CreationTimeUtc { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this instance is directory.
|
||||
/// </summary>
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.IO
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface IFileSystem
|
||||
/// Interface IFileSystem.
|
||||
/// </summary>
|
||||
public interface IFileSystem
|
||||
{
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
||||
@@ -3,7 +3,7 @@ using System;
|
||||
namespace MediaBrowser.Model.IO
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface IIsoMount
|
||||
/// Interface IIsoMount.
|
||||
/// </summary>
|
||||
public interface IIsoMount : IDisposable
|
||||
{
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
namespace MediaBrowser.Model.IO
|
||||
{
|
||||
public interface IShortcutHandler
|
||||
@@ -7,12 +10,14 @@ namespace MediaBrowser.Model.IO
|
||||
/// </summary>
|
||||
/// <value>The extension.</value>
|
||||
string Extension { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Resolves the specified shortcut path.
|
||||
/// </summary>
|
||||
/// <param name="shortcutPath">The shortcut path.</param>
|
||||
/// <returns>System.String.</returns>
|
||||
string Resolve(string shortcutPath);
|
||||
|
||||
/// <summary>
|
||||
/// Creates the specified shortcut path.
|
||||
/// </summary>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
using System.IO;
|
||||
|
||||
namespace MediaBrowser.Model.IO
|
||||
|
||||
Reference in New Issue
Block a user