Class BaseItemExtensions
Inheritance
System.Object
BaseItemExtensions
Namespace: MediaBrowser.Controller.Entities
Assembly: MediaBrowser.Controller.dll
Syntax
public static class BaseItemExtensions
Methods
GetImagePath(BaseItem, ImageType)
Gets the image path.
Declaration
public static string GetImagePath(this BaseItem item, ImageType imageType)
Parameters
Type | Name | Description |
---|---|---|
BaseItem | item | The item. |
ImageType | imageType | Type of the image. |
Returns
Type | Description |
---|---|
System.String | System.String. |
HasImage(BaseItem, ImageType)
Declaration
public static bool HasImage(this BaseItem item, ImageType imageType)
Parameters
Type | Name | Description |
---|---|---|
BaseItem | item | |
ImageType | imageType |
Returns
Type | Description |
---|---|
System.Boolean |