C# Class Dev2.Core.Tests.Workflows.WorkflowDesignerViewModelMock

Inheritance: WorkflowDesignerViewModel
显示文件 Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
FetchDesignerText ( ) : string
LoadXaml ( ) : void
SetActiveEnvironment ( IEnvironmentModel environmentModel ) : void
SetDataObject ( dynamic dataobject ) : void
SetIsDesignerViewVisible ( bool isVisible ) : void
SetupRequestCollapseAll ( ) : void
SetupRequestExapandAll ( ) : void
SetupRequestRestoreAll ( ) : void
TestCheckIfRemoteWorkflowAndSetProperties ( DsfActivity dsfActivity, IContextualResourceModel resource, IEnvironmentModel environmentModel ) : void
TestHandleMouseClick ( DependencyObject dp, System.Activities.Presentation.View.DesignerView dv ) : void
TestModelServiceModelChanged ( System.Activities.Presentation.Services.ModelChangedEventArgs e ) : void
TestPerformAddItems ( System.Activities.Presentation.Model.ModelItem modelItems ) : System.Activities.Presentation.Model.ModelItem
TestWorkflowDesignerModelChanged ( ) : void
TestWorkflowDesignerModelChangedWithNullSender ( ) : void
VerifyLoadCalled ( ) : void
WorkflowDesignerViewModelMock ( IContextualResourceModel resource, IWorkflowHelper workflowHelper, IEventAggregator eventAggregator, bool createDesigner = false ) : System
WorkflowDesignerViewModelMock ( IContextualResourceModel resource, IWorkflowHelper workflowHelper, IPopupController popupController, bool createDesigner = false ) : System
WorkflowDesignerViewModelMock ( IContextualResourceModel resource, IWorkflowHelper workflowHelper, bool createDesigner = false ) : System

Protected Methods

Method Description
BringIntoView ( System.Activities.Presentation.Model.ModelItem selectedModelItem ) : void
GetSelectedModelItem ( System.Guid itemId, System.Guid parentId ) : System.Activities.Presentation.Model.ModelItem

Method Details

BringIntoView() protected method

protected BringIntoView ( System.Activities.Presentation.Model.ModelItem selectedModelItem ) : void
selectedModelItem System.Activities.Presentation.Model.ModelItem
return void

FetchDesignerText() public method

public FetchDesignerText ( ) : string
return string

GetSelectedModelItem() protected method

protected GetSelectedModelItem ( System.Guid itemId, System.Guid parentId ) : System.Activities.Presentation.Model.ModelItem
itemId System.Guid
parentId System.Guid
return System.Activities.Presentation.Model.ModelItem

LoadXaml() public method

public LoadXaml ( ) : void
return void

SetActiveEnvironment() public method

public SetActiveEnvironment ( IEnvironmentModel environmentModel ) : void
environmentModel IEnvironmentModel
return void

SetDataObject() public method

public SetDataObject ( dynamic dataobject ) : void
dataobject dynamic
return void

SetIsDesignerViewVisible() public method

public SetIsDesignerViewVisible ( bool isVisible ) : void
isVisible bool
return void

SetupRequestCollapseAll() public method

public SetupRequestCollapseAll ( ) : void
return void

SetupRequestExapandAll() public method

public SetupRequestExapandAll ( ) : void
return void

SetupRequestRestoreAll() public method

public SetupRequestRestoreAll ( ) : void
return void

TestCheckIfRemoteWorkflowAndSetProperties() public method

public TestCheckIfRemoteWorkflowAndSetProperties ( DsfActivity dsfActivity, IContextualResourceModel resource, IEnvironmentModel environmentModel ) : void
dsfActivity DsfActivity
resource IContextualResourceModel
environmentModel IEnvironmentModel
return void

TestHandleMouseClick() public method

public TestHandleMouseClick ( DependencyObject dp, System.Activities.Presentation.View.DesignerView dv ) : void
dp System.Windows.DependencyObject
dv System.Activities.Presentation.View.DesignerView
return void

TestModelServiceModelChanged() public method

public TestModelServiceModelChanged ( System.Activities.Presentation.Services.ModelChangedEventArgs e ) : void
e System.Activities.Presentation.Services.ModelChangedEventArgs
return void

TestPerformAddItems() public method

public TestPerformAddItems ( System.Activities.Presentation.Model.ModelItem modelItems ) : System.Activities.Presentation.Model.ModelItem
modelItems System.Activities.Presentation.Model.ModelItem
return System.Activities.Presentation.Model.ModelItem

TestWorkflowDesignerModelChanged() public method

public TestWorkflowDesignerModelChanged ( ) : void
return void

TestWorkflowDesignerModelChangedWithNullSender() public method

public TestWorkflowDesignerModelChangedWithNullSender ( ) : void
return void

VerifyLoadCalled() public method

public VerifyLoadCalled ( ) : void
return void

WorkflowDesignerViewModelMock() public method

public WorkflowDesignerViewModelMock ( IContextualResourceModel resource, IWorkflowHelper workflowHelper, IEventAggregator eventAggregator, bool createDesigner = false ) : System
resource IContextualResourceModel
workflowHelper IWorkflowHelper
eventAggregator IEventAggregator
createDesigner bool
return System

WorkflowDesignerViewModelMock() public method

public WorkflowDesignerViewModelMock ( IContextualResourceModel resource, IWorkflowHelper workflowHelper, IPopupController popupController, bool createDesigner = false ) : System
resource IContextualResourceModel
workflowHelper IWorkflowHelper
popupController IPopupController
createDesigner bool
return System

WorkflowDesignerViewModelMock() public method

public WorkflowDesignerViewModelMock ( IContextualResourceModel resource, IWorkflowHelper workflowHelper, bool createDesigner = false ) : System
resource IContextualResourceModel
workflowHelper IWorkflowHelper
createDesigner bool
return System