Class AssetConversionExtensions
Extensions methods for AssetConversion
Inheritance
System.Object
AssetConversionExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Common.Data
Assembly: ImageVault.Common.dll
Syntax
public static class AssetConversionExtensions
Methods
ToImage(AssetConversion)
Convert to image
Declaration
public static Image ToImage(this AssetConversion conversion)
Parameters
Type | Name | Description |
---|---|---|
AssetConversion | conversion |
Returns
Type | Description |
---|---|
Image |
ToMedia(AssetConversion)
Returns a media instance
Declaration
public static Media ToMedia(this AssetConversion conversion)
Parameters
Type | Name | Description |
---|---|---|
AssetConversion | conversion |
Returns
Type | Description |
---|---|
Media |