Fix warnings MediaBrowser.Model

This commit is contained in:
Bond_009
2020-02-04 01:49:27 +01:00
parent 176e850973
commit f47ad85011
290 changed files with 1132 additions and 290 deletions

View File

@@ -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
}

View File

@@ -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>

View File

@@ -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
{

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
using System;
using System.Collections.Generic;
using System.IO;

View File

@@ -3,7 +3,7 @@ using System;
namespace MediaBrowser.Model.IO
{
/// <summary>
/// Interface IIsoMount
/// Interface IIsoMount.
/// </summary>
public interface IIsoMount : IDisposable
{

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
using System;
using System.IO;
using System.Threading;

View File

@@ -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>

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
using System;
using System.IO;
using System.Threading;

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
using System.IO;
namespace MediaBrowser.Model.IO