[This is preliminary documentation and is subject to change.]

The StaticPropertiesTest type exposes the following members.

Constructors

  NameDescription
Public methodStaticPropertiesTest(Assembly)
CTor from assembly
Public methodStaticPropertiesTest(Module)
CTor from module
Public methodStaticPropertiesTest(Type)
CTor from type
Public methodStaticPropertiesTest(NamespaceInfo)
CTor from namespace

Methods

  NameDescription
Protected methodOnError
Raises the Error event
Protected methodOnSuccess
Raises the Success event
Public methodRunTest
Performs a test
Protected methodShouldTestType
Determines if given type should be tested
Protected methodTestAssembly
Tests modules from assembly
Protected methodTestModule
Tests types from module
Protected methodTestNamespce
Tests types from namespace
Protected methodTestProperty
Test single property
Protected methodTestType
Tests all static properties of given type

Properties

  NameDescription
Public propertyErrorsCount
Gets count of properties tested with error/warning
Public propertyErrorsCount[([( StaticPropertiesTest..::..TestStages])])
Gets count of errors by stage
Public propertyPropertiesTestedCount
Gets count of tested properties
Public propertyPropertyBindingFlags
Gets or sets flags indicating which properties should be tested
Public propertyPropertyErrorsCount
Gets count of errors at GetterBeingInvoked stage
Public propertySuccessCount
Gets count of successfully tested properties
Public propertyTypeFlags
Gets or sets flags indicating which types hsould be tested.

Events

  NameDescription
Public eventError
Raised when error occurs
Public eventSuccess
Raised when no error (warning) occurs during test of single property

See Also