C# 클래스 Open.TestHarness.Model.ViewTestClass

Represents a method decorated with the [ViewTestClass] attribute.
상속: Open.Core.Common.ModelBase
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL 1 사용 예제들

공개 메소드들

메소드 설명
Activate ( ) : bool

Loads the Type from the TypeName (if not already activated).

GetSingleton ( Type type, string xapFileName ) : ViewTestClass

Create a new singleton instance of the model.

GetSingleton ( string typeName, string customName, string assemblyName, string xapFileName ) : ViewTestClass

Create a new singleton instance of the model.

GetTestMethod ( string name ) : ViewTest

Gets the [ViewTest] method with the given name.

IsEquivalent ( Type compareType ) : bool

Determines whether the specified type is represented by this model.

IsEquivalent ( string typeName, string assemblyName ) : bool

Determines whether the specified values match this model.

Reload ( ) : void

Causes the a new test instance to be loaded.

ResetTests ( bool runDefaultTest ) : void

Resets the view tests.

ViewTestClass ( Type classType, string xapFileName ) : System
ViewTestClass ( string typeName, string customName, string assemblyName, string xapFileName ) : System

보호된 메소드들

메소드 설명
OnDisposed ( ) : void

비공개 메소드들

메소드 설명
FireExecuteRequest ( ViewTest test ) : void
GetAssembly ( ) : Assembly
Initialize ( Type classType, string xapFileName ) : void
InitializeNames ( string typeName, string assemblyName, string xapFileName ) : void
OnTestExecuteRequest ( object sender, EventArgs e ) : void
PopulateViewTests ( ) : void
RaiseIsCurrentChanged ( ) : void

메소드 상세

Activate() 공개 메소드

Loads the Type from the TypeName (if not already activated).
public Activate ( ) : bool
리턴 bool

GetSingleton() 공개 정적인 메소드

Create a new singleton instance of the model.
public static GetSingleton ( Type type, string xapFileName ) : ViewTestClass
type System.Type The type to model.
xapFileName string The name of the XAP file containing the class.
리턴 ViewTestClass

GetSingleton() 공개 정적인 메소드

Create a new singleton instance of the model.
public static GetSingleton ( string typeName, string customName, string assemblyName, string xapFileName ) : ViewTestClass
typeName string The full name of the type.
customName string The custom name of the attribute (Null if not required).
assemblyName string The assembly name.
xapFileName string The name of the XAP file containing the class.
리턴 ViewTestClass

GetTestMethod() 공개 메소드

Gets the [ViewTest] method with the given name.
public GetTestMethod ( string name ) : ViewTest
name string The name of the method to retrieve.
리턴 ViewTest

IsEquivalent() 공개 메소드

Determines whether the specified type is represented by this model.
public IsEquivalent ( Type compareType ) : bool
compareType System.Type
리턴 bool

IsEquivalent() 공개 메소드

Determines whether the specified values match this model.
public IsEquivalent ( string typeName, string assemblyName ) : bool
typeName string The type name.
assemblyName string The assembly name.
리턴 bool

OnDisposed() 보호된 메소드

protected OnDisposed ( ) : void
리턴 void

Reload() 공개 메소드

Causes the a new test instance to be loaded.
public Reload ( ) : void
리턴 void

ResetTests() 공개 메소드

Resets the view tests.
public ResetTests ( bool runDefaultTest ) : void
runDefaultTest bool Flag indicating if the default test should be executed.
리턴 void

ViewTestClass() 공개 메소드

public ViewTestClass ( Type classType, string xapFileName ) : System
classType System.Type
xapFileName string
리턴 System

ViewTestClass() 공개 메소드

public ViewTestClass ( string typeName, string customName, string assemblyName, string xapFileName ) : System
typeName string
customName string
assemblyName string
xapFileName string
리턴 System