C# Class ServiceMonitor.ProcessModel

Mostrar archivo Open project: davyxu/ServiceMonitor Class Usage Examples

Public Properties

Property Type Description
OnClear System.Action
OnError Action
OnExit Action
OnGetAllLog Func
OnGetData LogData>.Func
OnGetDataCount Func
OnGetSelectedContent Func
OnLog Action
OnStart Action
OnStop Action
invoker System.Windows.Forms.Control
view LogView

Public Methods

Method Description
ClearLog ( ) : void
GetAllLog ( ) : string
GetData ( int index ) : LogData
GetDataCount ( ) : int
GetSelectedContext ( ) : string
ProcessModel ( ) : System
SafeCall ( System.Action callback ) : void
Start ( ) : void
Stop ( ) : void
WriteLog ( Color c, string text ) : void

Method Details

ClearLog() public method

public ClearLog ( ) : void
return void

GetAllLog() public method

public GetAllLog ( ) : string
return string

GetData() public method

public GetData ( int index ) : LogData
index int
return LogData

GetDataCount() public method

public GetDataCount ( ) : int
return int

GetSelectedContext() public method

public GetSelectedContext ( ) : string
return string

ProcessModel() public method

public ProcessModel ( ) : System
return System

SafeCall() public method

public SafeCall ( System.Action callback ) : void
callback System.Action
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

WriteLog() public method

public WriteLog ( Color c, string text ) : void
c Color
text string
return void

Property Details

OnClear public_oe property

public Action,System OnClear
return System.Action

OnError public_oe property

public Action OnError
return Action

OnExit public_oe property

public Action OnExit
return Action

OnGetAllLog public_oe property

public Func OnGetAllLog
return Func

OnGetData public_oe property

public Func OnGetData
return LogData>.Func

OnGetDataCount public_oe property

public Func OnGetDataCount
return Func

OnGetSelectedContent public_oe property

public Func OnGetSelectedContent
return Func

OnLog public_oe property

public Action OnLog
return Action

OnStart public_oe property

public Action OnStart
return Action

OnStop public_oe property

public Action OnStop
return Action

invoker public_oe property

public Control,System.Windows.Forms invoker
return System.Windows.Forms.Control

view public_oe property

public LogView,ServiceMonitor view
return LogView