다음을 통해 공유


PexComponentElementDecoratorAttributeBase.Decorate Method

Definition

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.

Applies to