C# Class Decchi.ParsingModule.IParseRule

Inheritance: IDisposable, INotifyPropertyChanged
Show file Open project: Usagination/Decchi Class Usage Examples

Public Properties

Property Type Description
Rules Decchi.ParsingModule.IParseRule[]
RulesPipe Decchi.ParsingModule.IParseRule[]
RulesPlayer Decchi.ParsingModule.IParseRule[]

Protected Properties

Property Type Description
m_timer System.Threading.Timer

Public Methods

Method 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

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

Protected Methods

Method Description
Dispose ( bool disposing ) : void
IParseRule ( IParseRuleOption option ) : System

Private Methods

Method 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 method

public static CheckPipe ( ) : void
return void

DefaultADCallback() public static method

public static DefaultADCallback ( object args ) : void
args object
return void

DisableAD() public method

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

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Edit() public method

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

EnableAD() public method

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

GetCurrentPlayingSong() public method

public GetCurrentPlayingSong ( IList result, IList webPages ) : void
result IList
webPages IList
return void

GetWindowHandle() public method

public GetWindowHandle ( ) : IntPtr
return System.IntPtr

GetWindowHandle() public method

public GetWindowHandle ( IntPtr childAfter ) : IntPtr
childAfter System.IntPtr
return System.IntPtr

IParseRule() protected method

protected IParseRule ( IParseRuleOption option ) : System
option IParseRuleOption
return System

ParseManual() public method

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

ParseTitle() public method

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

Property Details

Rules public static property

public static IParseRule[],Decchi.ParsingModule Rules
return Decchi.ParsingModule.IParseRule[]

RulesPipe public static property

public static IParseRule[],Decchi.ParsingModule RulesPipe
return Decchi.ParsingModule.IParseRule[]

RulesPlayer public static property

public static IParseRule[],Decchi.ParsingModule RulesPlayer
return Decchi.ParsingModule.IParseRule[]

m_timer protected property

protected Timer,System.Threading m_timer
return System.Threading.Timer