C# Class Zetbox.Client.ASPNET.AspNetViewModelFactory

Inheritance: ViewModelFactory
Datei anzeigen Open project: daszat/zetbox

Public Methods

Method Description
AspNetViewModelFactory ( ILifetimeScopeFactory scopeFactory, Autofac scope, IFrozenContext frozenCtx, ZetboxConfig cfg, IPerfCounter perfCounter, DialogCreator dialogFactory ) : System
CreateTimer ( System.TimeSpan tickLength, System.Action action ) : void
GetDecisionFromUser ( string message, string caption ) : bool
GetDestinationFileNameFromUser ( string filename ) : string
GetSourceFileNameFromUser ( ) : string
ShowMessage ( string message, string caption ) : void

Protected Methods

Method Description
ShowInView ( Zetbox.Client.Presentables.ViewModel mdl, object view, bool activate, bool asDialog, Zetbox.Client.Presentables.ViewModel ownerMdl ) : void

Method Details

AspNetViewModelFactory() public method

public AspNetViewModelFactory ( ILifetimeScopeFactory scopeFactory, Autofac scope, IFrozenContext frozenCtx, ZetboxConfig cfg, IPerfCounter perfCounter, DialogCreator dialogFactory ) : System
scopeFactory ILifetimeScopeFactory
scope Autofac
frozenCtx IFrozenContext
cfg Zetbox.API.Configuration.ZetboxConfig
perfCounter IPerfCounter
dialogFactory Zetbox.Client.GUI.DialogCreator
return System

CreateTimer() public method

public CreateTimer ( System.TimeSpan tickLength, System.Action action ) : void
tickLength System.TimeSpan
action System.Action
return void

GetDecisionFromUser() public method

public GetDecisionFromUser ( string message, string caption ) : bool
message string
caption string
return bool

GetDestinationFileNameFromUser() public method

public GetDestinationFileNameFromUser ( string filename ) : string
filename string
return string

GetSourceFileNameFromUser() public method

public GetSourceFileNameFromUser ( ) : string
return string

ShowInView() protected method

protected ShowInView ( Zetbox.Client.Presentables.ViewModel mdl, object view, bool activate, bool asDialog, Zetbox.Client.Presentables.ViewModel ownerMdl ) : void
mdl Zetbox.Client.Presentables.ViewModel
view object
activate bool
asDialog bool
ownerMdl Zetbox.Client.Presentables.ViewModel
return void

ShowMessage() public method

public ShowMessage ( string message, string caption ) : void
message string
caption string
return void