C# Class CaliburnMicro.AsyncDemo.ShellViewModel

Inheritance: Caliburn.Micro.Screen, IShell
显示文件 Open project: vcaraulean/CaliburnMicro.AsyncDemo

Public Methods

Method Description
Log ( string message ) : void
PublishEventAndHandleAsync ( ) : void
RunTask1Async ( ) : void
ShellViewModel ( IEventAggregator eventAggregator, MessageHandler messageHandler ) : System
WrapIResultInTaskAsync ( ) : void

Protected Methods

Method Description
OnActivate ( ) : void
OnInitialize ( ) : void
OnViewAttached ( object view, object context ) : void
OnViewLoaded ( object view ) : void

Private Methods

Method Description
OnViewAttachedEventHandler ( object sender, Caliburn.Micro.ViewAttachedEventArgs args ) : void

Method Details

Log() public static method

public static Log ( string message ) : void
message string
return void

OnActivate() protected method

protected OnActivate ( ) : void
return void

OnInitialize() protected method

protected OnInitialize ( ) : void
return void

OnViewAttached() protected method

protected OnViewAttached ( object view, object context ) : void
view object
context object
return void

OnViewLoaded() protected method

protected OnViewLoaded ( object view ) : void
view object
return void

PublishEventAndHandleAsync() public method

public PublishEventAndHandleAsync ( ) : void
return void

RunTask1Async() public method

public RunTask1Async ( ) : void
return void

ShellViewModel() public method

public ShellViewModel ( IEventAggregator eventAggregator, MessageHandler messageHandler ) : System
eventAggregator IEventAggregator
messageHandler MessageHandler
return System

WrapIResultInTaskAsync() public method

public WrapIResultInTaskAsync ( ) : void
return void