Class ItemResolveArgs
These are arguments relating to the file system that are collected once and then referred to whenever needed. Primarily for entity resolution.
Inheritance
System.Object
System.EventArgs
ItemResolveArgs
Inherited Members
System.EventArgs.Empty
Namespace: MediaBrowser.Controller.Library
Assembly: MediaBrowser.Controller.dll
Syntax
public sealed class ItemResolveArgs : EventArgs
Constructors
ItemResolveArgs(IDirectoryService, ILibraryManager)
Initializes a new instance of the ItemResolveArgs class.
Declaration
public ItemResolveArgs(IDirectoryService directoryService, ILibraryManager libraryManager)
Parameters
Type | Name | Description |
---|---|---|
IDirectoryService | directoryService | |
ILibraryManager | libraryManager |
Properties
CollectionType
Declaration
public string CollectionType { get; }
Property Value
Type | Description |
---|---|
System.String |
DirectoryService
Declaration
public IDirectoryService DirectoryService { get; }
Property Value
Type | Description |
---|---|
IDirectoryService |
FileInfo
Gets or sets the file info.
Declaration
public FileSystemMetadata FileInfo { get; set; }
Property Value
Type | Description |
---|---|
FileSystemMetadata | The file info. |
IsDirectory
Gets a value indicating whether this instance is directory.
Declaration
public bool IsDirectory { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
LibraryOptions
Declaration
public LibraryOptions LibraryOptions { get; set; }
Property Value
Type | Description |
---|---|
LibraryOptions |
Parent
Gets or sets the parent.
Declaration
public Folder Parent { get; set; }
Property Value
Type | Description |
---|---|
Folder | The parent. |
Path
Gets or sets the path.
Declaration
public string Path { get; set; }
Property Value
Type | Description |
---|---|
System.String | The path. |
Methods
ContainsFileSystemEntryByName(String, Boolean)
Determines whether [contains file system entry by name] [the specified name].
Declaration
public bool ContainsFileSystemEntryByName(string name, bool caseSensitive)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Boolean | caseSensitive |
Returns
Type | Description |
---|---|
System.Boolean |
GetCollectionType()
Declaration
public string GetCollectionType()
Returns
Type | Description |
---|---|
System.String |
GetFileSystemChildren()
Declaration
public FileSystemMetadata[] GetFileSystemChildren()
Returns
Type | Description |
---|---|
FileSystemMetadata[] |
GetLibraryOptions()
Declaration
public LibraryOptions GetLibraryOptions()
Returns
Type | Description |
---|---|
LibraryOptions |
HasParent<T>()
Declaration
public bool HasParent<T>()
where T : Folder
Returns
Type | Description |
---|---|
System.Boolean |
Type Parameters
Name | Description |
---|---|
T |