diff options
| author | crobibero <cody@robibe.ro> | 2020-06-20 15:56:42 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-06-20 15:56:42 -0600 |
| commit | 3329b08b40bb7d7e98264969c1b4c9e356fbdec2 (patch) | |
| tree | fbbaa4e95adf35533f037ae18490d908eff5a608 /MediaBrowser.Model/IO/FileSystemEntryInfo.cs | |
| parent | 7a77b9928f2c8326e85629d3c900e86c3b26342a (diff) | |
| parent | 576ffeb2a99e79caf0035eb9166436d1e0161d2c (diff) | |
Merge remote-tracking branch 'upstream/api-migration' into api-playlist
Diffstat (limited to 'MediaBrowser.Model/IO/FileSystemEntryInfo.cs')
| -rw-r--r-- | MediaBrowser.Model/IO/FileSystemEntryInfo.cs | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/MediaBrowser.Model/IO/FileSystemEntryInfo.cs b/MediaBrowser.Model/IO/FileSystemEntryInfo.cs index a197f0fbe..36ff5d041 100644 --- a/MediaBrowser.Model/IO/FileSystemEntryInfo.cs +++ b/MediaBrowser.Model/IO/FileSystemEntryInfo.cs @@ -1,26 +1,39 @@ namespace MediaBrowser.Model.IO { /// <summary> - /// Class FileSystemEntryInfo + /// Class FileSystemEntryInfo. /// </summary> public class FileSystemEntryInfo { /// <summary> - /// Gets or sets the name. + /// Initializes a new instance of the <see cref="FileSystemEntryInfo" /> class. + /// </summary> + /// <param name="name">The filename.</param> + /// <param name="path">The file path.</param> + /// <param name="type">The file type.</param> + public FileSystemEntryInfo(string name, string path, FileSystemEntryType type) + { + Name = name; + Path = path; + Type = type; + } + + /// <summary> + /// Gets the name. /// </summary> /// <value>The name.</value> - public string Name { get; set; } + public string Name { get; } /// <summary> - /// Gets or sets the path. + /// Gets the path. /// </summary> /// <value>The path.</value> - public string Path { get; set; } + public string Path { get; } /// <summary> - /// Gets or sets the type. + /// Gets the type. /// </summary> /// <value>The type.</value> - public FileSystemEntryType Type { get; set; } + public FileSystemEntryType Type { get; } } } |
