C# Class UnityEngine.NUnit.Framework.Constraints.AttributeOperator

Operator that tests for the presence of a particular attribute on a type and optionally applies further tests to the attribute.
Inheritance: SelfResolvingOperator
Mostrar archivo Open project: Unity-Technologies/nunitv2

Public Methods

Method Description
AttributeOperator ( Type type ) : System

Construct an AttributeOperator for a particular Type

Reduce ( ConstraintBuilder stack ) : void

Reduce produces a constraint from the operator and any arguments. It takes the arguments from the constraint stack and pushes the resulting constraint on it.

Method Details

AttributeOperator() public method

Construct an AttributeOperator for a particular Type
public AttributeOperator ( Type type ) : System
type System.Type The Type of attribute tested
return System

Reduce() public method

Reduce produces a constraint from the operator and any arguments. It takes the arguments from the constraint stack and pushes the resulting constraint on it.
public Reduce ( ConstraintBuilder stack ) : void
stack ConstraintBuilder
return void