次の方法で共有


PexExplorationPackageAttributeBase.Decorate Method

Definition

This method can announce filters, focuses, and packages to IntelliTest.

protected:
 override void Decorate(Microsoft::ExtendedReflection::Metadata::Names::Name ^ location, Microsoft::Pex::Engine::ComponentModel::IPexDecoratedComponentElement ^ host);
protected override sealed void Decorate (Microsoft.ExtendedReflection.Metadata.Names.Name location, Microsoft.Pex.Engine.ComponentModel.IPexDecoratedComponentElement host);
override this.Decorate : Microsoft.ExtendedReflection.Metadata.Names.Name * Microsoft.Pex.Engine.ComponentModel.IPexDecoratedComponentElement -> unit
Protected Overrides NotOverridable 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