PairDeconstructorAttribute Class
Specifies what type to use as a pair deconstructor for
the property this attribute is bound to.
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public sealed class PairDeconstructorAttribute : Attribute
- Namespace
- Spectre
.Console .Cli - Base Types
-
- Attribute
Attributes
-
Attribute
Usage Attribute
Constructors
-
Pair
Deconstructor Attribute (Type) -
Initializes a new instance of the
PairDeconstructorAttribute
class.
Properties
Extension Methods
-
T And
< Pair Deconstructor Attribute> (Action < Pair Deconstructor Attribute> ) - Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.