PexComponentElementDecoratorAttributeBase.Decorate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method can announce filters, focuses, and packages to IntelliTest.
protected:
abstract void Decorate(Microsoft::ExtendedReflection::Metadata::Names::Name ^ location, Microsoft::Pex::Engine::ComponentModel::IPexDecoratedComponentElement ^ host);
protected abstract void Decorate (Microsoft.ExtendedReflection.Metadata.Names.Name location, Microsoft.Pex.Engine.ComponentModel.IPexDecoratedComponentElement host);
abstract member Decorate : Microsoft.ExtendedReflection.Metadata.Names.Name * Microsoft.Pex.Engine.ComponentModel.IPexDecoratedComponentElement -> unit
Protected MustOverride Sub Decorate (location As Name, host As IPexDecoratedComponentElement)
Parameters
- location
- Microsoft.ExtendedReflection.Metadata.Names.Name
The location of the decorator.
- host
- Microsoft.Pex.Engine.ComponentModel.IPexDecoratedComponentElement
The host.
Remarks
This method is called once when IntelliTest inspects all decorators. A package, that is added at this point, may later create components for individual explorations or paths.