C# Class TagLib.FileTypes

This static class provides a mechanism for registering file classes and mime-types, to be used when constructing a class via File.Create(string).

The default types built into the taglib-sharp.dll assembly are registered automatically when the class is initialized. To register your own custom types, use .

Mostrar archivo Open project: MediaPortal/MPTagThat Class Usage Examples

Public Methods

Method Description
Register ( Type type ) : void

Registers a File subclass to be used when creating files via File.Create(string).

In order to register mime-types, the class represented by type should use the custom attribute.

Private Methods

Method Description
FileTypes ( ) : System

Constructs and initializes the FileTypes class by registering the default types.

Init ( ) : void

Initializes the class by registering the default types.

Method Details

Register() public static method

Registers a File subclass to be used when creating files via File.Create(string).
In order to register mime-types, the class represented by type should use the custom attribute.
public static Register ( Type type ) : void
type System.Type /// A object for the class to register. ///
return void