C# Class WinFwk.UIServices.AbstractUIService

Exibir arquivo Open project: fremag/MemoScope.Net

Public Methods

Method Description
Init ( MessageBus messageBus ) : void

Protected Methods

Method Description
BeginTask ( string text ) : void
BeginTask ( string text, CancellationTokenSource cancellationTokenSource ) : void
EndTask ( string text ) : void
Log ( string text, Exception exception ) : void
Log ( string text, LogLevelType logLevel = LogLevelType.Info ) : void
Status ( string text, StatusType status = StatusType.Text ) : void

Method Details

BeginTask() protected method

protected BeginTask ( string text ) : void
text string
return void

BeginTask() protected method

protected BeginTask ( string text, CancellationTokenSource cancellationTokenSource ) : void
text string
cancellationTokenSource System.Threading.CancellationTokenSource
return void

EndTask() protected method

protected EndTask ( string text ) : void
text string
return void

Init() public method

public Init ( MessageBus messageBus ) : void
messageBus MessageBus
return void

Log() protected method

protected Log ( string text, Exception exception ) : void
text string
exception System.Exception
return void

Log() protected method

protected Log ( string text, LogLevelType logLevel = LogLevelType.Info ) : void
text string
logLevel LogLevelType
return void

Status() protected method

protected Status ( string text, StatusType status = StatusType.Text ) : void
text string
status StatusType
return void