C# Class Machine.Specifications.ReSharperRunner.Presentation.Presenter

Inheritance: TreeModelBrowserPresenter
显示文件 Open project: agross/machine.specifications Class Usage Examples

Public Methods

Method Description
Presenter ( ) : System

Protected Methods

Method Description
IsNaturalParent ( object parentValue, object childValue ) : bool
PresentBehavior ( Machine.Specifications.ReSharperRunner.Presentation.BehaviorElement element, IPresentableItem item, TreeModelNode modelNode, PresentationState state ) : void
PresentBehaviorSpecification ( Machine.Specifications.ReSharperRunner.Presentation.BehaviorSpecificationElement element, IPresentableItem item, TreeModelNode modelNode, PresentationState state ) : void
PresentContext ( Machine.Specifications.ReSharperRunner.Presentation.ContextElement element, IPresentableItem item, TreeModelNode modelNode, PresentationState state ) : void
PresentSpecification ( Machine.Specifications.ReSharperRunner.Presentation.FieldElement element, IPresentableItem item, TreeModelNode modelNode, PresentationState state ) : void
Unwrap ( object value ) : object

Private Methods

Method Description
PresentItem ( IPresentableItem item, Element element, PresentationState state, UnitTestElementImage type ) : void
SetTextColor ( IPresentableItem item, Element element ) : void

Method Details

IsNaturalParent() protected method

protected IsNaturalParent ( object parentValue, object childValue ) : bool
parentValue object
childValue object
return bool

PresentBehavior() protected method

protected PresentBehavior ( Machine.Specifications.ReSharperRunner.Presentation.BehaviorElement element, IPresentableItem item, TreeModelNode modelNode, PresentationState state ) : void
element Machine.Specifications.ReSharperRunner.Presentation.BehaviorElement
item IPresentableItem
modelNode TreeModelNode
state PresentationState
return void

PresentBehaviorSpecification() protected method

protected PresentBehaviorSpecification ( Machine.Specifications.ReSharperRunner.Presentation.BehaviorSpecificationElement element, IPresentableItem item, TreeModelNode modelNode, PresentationState state ) : void
element Machine.Specifications.ReSharperRunner.Presentation.BehaviorSpecificationElement
item IPresentableItem
modelNode TreeModelNode
state PresentationState
return void

PresentContext() protected method

protected PresentContext ( Machine.Specifications.ReSharperRunner.Presentation.ContextElement element, IPresentableItem item, TreeModelNode modelNode, PresentationState state ) : void
element Machine.Specifications.ReSharperRunner.Presentation.ContextElement
item IPresentableItem
modelNode TreeModelNode
state PresentationState
return void

PresentSpecification() protected method

protected PresentSpecification ( Machine.Specifications.ReSharperRunner.Presentation.FieldElement element, IPresentableItem item, TreeModelNode modelNode, PresentationState state ) : void
element Machine.Specifications.ReSharperRunner.Presentation.FieldElement
item IPresentableItem
modelNode TreeModelNode
state PresentationState
return void

Presenter() public method

public Presenter ( ) : System
return System

Unwrap() protected method

protected Unwrap ( object value ) : object
value object
return object