C# Class Decchi.ParsingModule.IParseRule

Inheritance: IDisposable, INotifyPropertyChanged
Afficher le fichier Open project: Usagination/Decchi Class Usage Examples

Méthodes publiques

Свойство Type Description
Rules Decchi.ParsingModule.IParseRule[]
RulesPipe Decchi.ParsingModule.IParseRule[]
RulesPlayer Decchi.ParsingModule.IParseRule[]

Protected Properties

Свойство Type Description
m_timer System.Threading.Timer

Méthodes publiques

Méthode Description
CheckPipe ( ) : void
DefaultADCallback ( object args ) : void
DisableAD ( ) : void

자동 인식 기능을 끕니다.

Dispose ( ) : void
Edit ( SongInfo si ) : void

SongInfo 포메팅 전에 호출됩니다.

EnableAD ( ) : void

자동 인식 기능을 활성화합니다.

GetCurrentPlayingSong ( IList result, IList webPages ) : void
GetWindowHandle ( ) : IntPtr
GetWindowHandle ( IntPtr childAfter ) : IntPtr
ParseManual ( SongInfo si, IntPtr hwnd ) : bool

FindWindow 를 사용하지 않고 별도의 작업을 통해 재생정보를 가져옵니다 주로 SDK나 API를 이용할 때 사용합니다 ParseFlag 에 ParseFlags.Get 플래그가 지정되야 합니다

ParseTitle ( SongInfo si, string title ) : bool

정규식을 사용하지 않고 별도로 파싱작업을 진행합니다

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
IParseRule ( IParseRuleOption option ) : System

Private Methods

Méthode Description
AddToList ( IList result, SongInfo si ) : bool
GetDataFromPipe ( ) : string
GetFromPlayer ( IList result ) : SongInfo
GetFromWebBrowser ( IList result, IList webPages ) : void
GetTagsFromFile ( SongInfo si ) : void
GetTagsFromPipe ( SongInfo si, string data = null ) : bool
GetTagsFromTitle ( SongInfo si, IntPtr hwnd, string title = null ) : bool
IParseRule ( ) : System

Method Details

CheckPipe() public static méthode

public static CheckPipe ( ) : void
Résultat void

DefaultADCallback() public static méthode

public static DefaultADCallback ( object args ) : void
args object
Résultat void

DisableAD() public méthode

자동 인식 기능을 끕니다.
public DisableAD ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Edit() public méthode

SongInfo 포메팅 전에 호출됩니다.
public Edit ( SongInfo si ) : void
si SongInfo
Résultat void

EnableAD() public méthode

자동 인식 기능을 활성화합니다.
public EnableAD ( ) : void
Résultat void

GetCurrentPlayingSong() public méthode

public GetCurrentPlayingSong ( IList result, IList webPages ) : void
result IList
webPages IList
Résultat void

GetWindowHandle() public méthode

public GetWindowHandle ( ) : IntPtr
Résultat System.IntPtr

GetWindowHandle() public méthode

public GetWindowHandle ( IntPtr childAfter ) : IntPtr
childAfter System.IntPtr
Résultat System.IntPtr

IParseRule() protected méthode

protected IParseRule ( IParseRuleOption option ) : System
option IParseRuleOption
Résultat System

ParseManual() public méthode

FindWindow 를 사용하지 않고 별도의 작업을 통해 재생정보를 가져옵니다 주로 SDK나 API를 이용할 때 사용합니다 ParseFlag 에 ParseFlags.Get 플래그가 지정되야 합니다
public ParseManual ( SongInfo si, IntPtr hwnd ) : bool
si SongInfo
hwnd System.IntPtr 찾은 윈도우 핸들 (선택)
Résultat bool

ParseTitle() public méthode

정규식을 사용하지 않고 별도로 파싱작업을 진행합니다
public ParseTitle ( SongInfo si, string title ) : bool
si SongInfo
title string 창 타이틀
Résultat bool

Property Details

Rules public_oe static_oe property

public static IParseRule[],Decchi.ParsingModule Rules
Résultat Decchi.ParsingModule.IParseRule[]

RulesPipe public_oe static_oe property

public static IParseRule[],Decchi.ParsingModule RulesPipe
Résultat Decchi.ParsingModule.IParseRule[]

RulesPlayer public_oe static_oe property

public static IParseRule[],Decchi.ParsingModule RulesPlayer
Résultat Decchi.ParsingModule.IParseRule[]

m_timer protected_oe property

protected Timer,System.Threading m_timer
Résultat System.Threading.Timer