C# Class AssetPackager.Helpers.AssetListTypeHelper

Contains helper methods for AssetListType enum.
Afficher le fichier Open project: kpumuk/assetpackager.net

Méthodes publiques

Méthode 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 méthode

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

GetTypeByName() public static méthode

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