C# Class AssetPackager.Helpers.AssetListTypeHelper

Contains helper methods for AssetListType enum.
Show file Open project: kpumuk/assetpackager.net

Public Methods

Method Description
GetMimeType ( AssetListType assetListType ) : string

Gets a MIME type associated with specified AssetListType.

GetTypeByName ( string shortName ) : AssetListType

Gets an asset list type from string.

Method Details

GetMimeType() public static method

Gets a MIME type associated with specified AssetListType.
public static GetMimeType ( AssetListType assetListType ) : string
assetListType AssetListType An object to analyze.
return string

GetTypeByName() public static method

Gets an asset list type from string.
public static GetTypeByName ( string shortName ) : AssetListType
shortName string Asset type (full or short name).
return AssetListType