C# Class Utilities.Media.MediaHelper

Helper class for checking media formats ( audio, video, image ).
显示文件 Open project: feanz/Utilities

Public Methods

Method Description
IsAudioFormat ( string format ) : bool

Whether or not the format supplied is an audio format.

IsImageFormat ( string format ) : bool

Whether or not the format supplied is an audio format.

IsVideoFormat ( string format ) : bool

Whether or not the format supplied is an audio format.

Private Methods

Method Description
MediaHelper ( ) : System.Collections.Generic

Initialize the formats for audio, video, image.

Method Details

IsAudioFormat() public static method

Whether or not the format supplied is an audio format.
public static IsAudioFormat ( string format ) : bool
format string Name of format.
return bool

IsImageFormat() public static method

Whether or not the format supplied is an audio format.
public static IsImageFormat ( string format ) : bool
format string Name of format.
return bool

IsVideoFormat() public static method

Whether or not the format supplied is an audio format.
public static IsVideoFormat ( string format ) : bool
format string Name of format.
return bool