C# Class strange.unittests.TestMediationBinder

Inheritance: AbstractMediationBinder
显示文件 Open project: dshook/centauri-tac Class Usage Examples

Public Properties

Property Type Description
mediators IMediator>.Dictionary

Public Methods

Method Description
TestInjectViewAndChildren ( IView view ) : void
TestPerformKeyValueBindings ( List keyList, List valueList ) : void

Protected Methods

Method Description
CreateMediator ( IView view, Type mediatorType ) : object
DestroyMediator ( IView view, Type mediatorType ) : object
GetViews ( IView view ) : IView[]
HasMediator ( IView view, Type mediatorType ) : bool
ThrowNullMediatorError ( Type viewType, Type mediatorType ) : void

Method Details

CreateMediator() protected method

protected CreateMediator ( IView view, Type mediatorType ) : object
view IView
mediatorType System.Type
return object

DestroyMediator() protected method

protected DestroyMediator ( IView view, Type mediatorType ) : object
view IView
mediatorType System.Type
return object

GetViews() protected method

protected GetViews ( IView view ) : IView[]
view IView
return IView[]

HasMediator() protected method

protected HasMediator ( IView view, Type mediatorType ) : bool
view IView
mediatorType System.Type
return bool

TestInjectViewAndChildren() public method

public TestInjectViewAndChildren ( IView view ) : void
view IView
return void

TestPerformKeyValueBindings() public method

public TestPerformKeyValueBindings ( List keyList, List valueList ) : void
keyList List
valueList List
return void

ThrowNullMediatorError() protected method

protected ThrowNullMediatorError ( Type viewType, Type mediatorType ) : void
viewType System.Type
mediatorType System.Type
return void

Property Details

mediators public_oe property

public Dictionary mediators
return IMediator>.Dictionary