The TestAssemblyPatternAttribute type exposes the following members.

Constructors

  NameDescription
TestAssemblyPatternAttribute
Initializes a new instance of the TestAssemblyPatternAttribute class

Methods

  NameDescription
Consume
Consumes a code element and applies its contributions to the scope provided by a containing pattern.
(Overrides PatternAttribute..::.Consume(IPatternScope, ICodeElementInfo, Boolean).)
Equals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
GetTestParts
Gets the test parts represented by a code element.
(Overrides PatternAttribute..::.GetTestParts(IPatternEvaluator, ICodeElementInfo).)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
InitializeAssemblyTest
Initializes a test for an assembly after it has been added to the test model.
IsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Match
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
PopulateChildrenImmediately
Populates the children of the assembly test all at once.
PrepareToPopulateChildrenOnDemand
Prepares to populate the children of the assembly test on demand by adding a deferred populator with AddDeferredComponentPopulator(DeferredComponentPopulator).
Process
Processes a code element and applies its contributions to the scope of this pattern. The scope will typically have been introduced by the Consume(IPatternScope, ICodeElementInfo, Boolean) method of a primary pattern applied to this code element.
(Inherited from PatternAttribute.)
SetTestSemantics
Applies semantic actions to the assembly-level test to estalish its runtime behavior.
ThrowUsageErrorExceptionOverloaded.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Validate
Verifies that the attribute is being used correctly.

Extension Methods

  NameDescription
FormatOverloaded.

Fields

  NameDescription
DefaultInstance
Gets a default instance of the assembly pattern attribute to use when no other pattern consumes an assembly.

Properties

  NameDescription
DefaultTypePattern
Gets the default pattern to apply to types that do not have a primary pattern, or null if none.
IsPrimary
Returns true if this is a primary pattern.
(Overrides PatternAttribute..::.IsPrimary.)
TypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)

See Also