C# 클래스 Achamenes.ID3.Frames.TrackTextFrame

상속: TextFrame
파일 보기 프로젝트 열기: sahands/a-id3

공개 메소드들

메소드 설명
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