C# Class OnlineVideos.MediaPortal2.SiteUpdateWorkflowModels

Inheritance: IWorkflowModel
显示文件 Open project: offbyoneBB/mp-onlinevideos2

Protected Properties

Property Type Description
_updateInfoProperty MediaPortal.Common.General.AbstractProperty
_updateProgressProperty MediaPortal.Common.General.AbstractProperty
currentBackgroundTask IWork
syncObject object

Public Methods

Method Description
CanEnterState ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : bool
ChangeModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext, bool push ) : void
Deactivate ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
EnterModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
ExitModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
Reactivate ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
UpdateMenuActions ( MediaPortal.UI.Presentation.Workflow.NavigationContext context, WorkflowAction>.IDictionary actions ) : void
UpdateScreen ( MediaPortal context, string &screen ) : ScreenUpdateMode

Private Methods

Method Description
RunUpdate ( MediaPortal.UI.Presentation.Workflow.NavigationContext context ) : void

Method Details

CanEnterState() public method

public CanEnterState ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : bool
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
return bool

ChangeModelContext() public method

public ChangeModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext, bool push ) : void
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
push bool
return void

Deactivate() public method

public Deactivate ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
return void

EnterModelContext() public method

public EnterModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
return void

ExitModelContext() public method

public ExitModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
return void

Reactivate() public method

public Reactivate ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
return void

UpdateMenuActions() public method

public UpdateMenuActions ( MediaPortal.UI.Presentation.Workflow.NavigationContext context, WorkflowAction>.IDictionary actions ) : void
context MediaPortal.UI.Presentation.Workflow.NavigationContext
actions WorkflowAction>.IDictionary
return void

UpdateScreen() public method

public UpdateScreen ( MediaPortal context, string &screen ) : ScreenUpdateMode
context MediaPortal
screen string
return ScreenUpdateMode

Property Details

_updateInfoProperty protected_oe property

protected AbstractProperty,MediaPortal.Common.General _updateInfoProperty
return MediaPortal.Common.General.AbstractProperty

_updateProgressProperty protected_oe property

protected AbstractProperty,MediaPortal.Common.General _updateProgressProperty
return MediaPortal.Common.General.AbstractProperty

currentBackgroundTask protected_oe property

protected IWork currentBackgroundTask
return IWork

syncObject protected_oe property

protected object syncObject
return object