The BasePattern type exposes the following members.

Constructors

  NameDescription
BasePattern
Initializes a new instance of the BasePattern class

Methods

  NameDescription
Consume
Consumes a code element and applies its contributions to the scope provided by a containing pattern.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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
Serves as a hash function for a particular type.
(Inherited from Object.)
GetTestParts
Gets the test parts represented by a code element.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Extension Methods

  NameDescription
FormatOverloaded.

Properties

  NameDescription
IsPrimary
Returns true if this is a primary pattern.

See Also