C# Класс TagLib.Id3v2.FrameFactory

This static class performs the necessary operations to determine and create the correct child class of Frame for a given raw ID3v2 frame.
By default, FrameFactory will only load frames contained in the library. To add additional frames to the process, register a frame creator with .
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddFrameCreator ( FrameCreator creator ) : void

Adds a curstom frame creator to try before using standard frame creation methods.

Frame creators are used before standard methods so custom checking can be used and new formats can be added. They are executed in the reverse order in which they are added.

CreateFrame ( ByteVector data, int &offset, byte version, bool alreadyUnsynched ) : TagLib.Id3v2.Frame

Creates a Frame object by reading it from raw ID3v2 frame data.

Описание методов

AddFrameCreator() публичный статический Метод

Adds a curstom frame creator to try before using standard frame creation methods.
Frame creators are used before standard methods so custom checking can be used and new formats can be added. They are executed in the reverse order in which they are added.
/// is . ///
public static AddFrameCreator ( FrameCreator creator ) : void
creator FrameCreator /// A delegate to be used by the /// frame factory. ///
Результат void

CreateFrame() публичный статический Метод

Creates a Frame object by reading it from raw ID3v2 frame data.
/// The frame contained in the raw data could not be /// converted to ID3v2 or uses encryption or compression. ///
public static CreateFrame ( ByteVector data, int &offset, byte version, bool alreadyUnsynched ) : TagLib.Id3v2.Frame
data ByteVector /// A object containing a raw ID3v2 /// frame. ///
offset int /// A value reference specifying at what /// index in at which the frame /// begins. After reading, it contains the offset of the next /// frame to be read. ///
version byte /// A value specifying the ID3v2 version /// the frame in is encoded in. ///
alreadyUnsynched bool /// A value specifying whether the entire /// tag has already been unsynchronized. ///
Результат TagLib.Id3v2.Frame