C# Класс Achamenes.ID3.Frames.TrackTextFrame

Наследование: TextFrame
Показать файл Открыть проект

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

Метод Описание
CreateParser ( ID3v2MajorVersion version, string frameID ) : Achamenes.ID3.Frames.Parsers.FrameParser

Creates a FrameParser class for the given version and frameID.

CreateWriter ( ID3v2MajorVersion version, EncodingScheme encoding ) : Achamenes.ID3.Frames.Writers.FrameWriter

TrackTextFrame ( int trackNumber ) : System

Initializes a new instance of TrackTextFrame

TrackTextFrame ( int trackNumber, int totalTracks ) : System

Initializes a new instance of TrackTextFrame

TrackTextFrame ( string text ) : System

Initializes a new instance of TrackTextFrame

The given value should be in the trackNumber[/totalTracks] format. See examples below for more details.

Защищенные методы

Метод Описание
Parse ( ) : void

Parses this.Text and extracts the TrackNumber and TotalTracks numbers out of it.

Validate ( string value ) : void

Parses the given string value and throws exceptions if it is an invalid text value for a track frame.

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

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

Creates a FrameParser class for the given version and frameID.
public static CreateParser ( ID3v2MajorVersion version, string frameID ) : Achamenes.ID3.Frames.Parsers.FrameParser
version ID3v2MajorVersion ID3 v2 major version to create the parser for.
frameID string The frame ID of the frame to be parsed.
Результат Achamenes.ID3.Frames.Parsers.FrameParser

CreateWriter() публичный Метод

public CreateWriter ( ID3v2MajorVersion version, EncodingScheme encoding ) : Achamenes.ID3.Frames.Writers.FrameWriter
version ID3v2MajorVersion ID3 v2 major version to create the writer for.
encoding EncodingScheme The encoding scheme to use for writing encoded text fields.
Результат Achamenes.ID3.Frames.Writers.FrameWriter

Parse() защищенный Метод

Parses this.Text and extracts the TrackNumber and TotalTracks numbers out of it.
protected Parse ( ) : void
Результат void

TrackTextFrame() публичный Метод

Initializes a new instance of TrackTextFrame
public TrackTextFrame ( int trackNumber ) : System
trackNumber int Track number.
Результат System

TrackTextFrame() публичный Метод

Initializes a new instance of TrackTextFrame
public TrackTextFrame ( int trackNumber, int totalTracks ) : System
trackNumber int Track number.
totalTracks int Total number of tracks.
Результат System

TrackTextFrame() публичный Метод

Initializes a new instance of TrackTextFrame
The given value should be in the trackNumber[/totalTracks] format. See examples below for more details.
/// The given text value was not in correct format. ///
public TrackTextFrame ( string text ) : System
text string /// Text string describing the frame. ///
Результат System

Validate() защищенный Метод

Parses the given string value and throws exceptions if it is an invalid text value for a track frame.
protected Validate ( string value ) : void
value string
Результат void