C# Класс UnityEngine.NUnit.Framework.Constraints.AttributeExistsConstraint

AttributeExistsConstraint tests for the presence of a specified attribute on a Type.
Наследование: Constraint
Показать файл Открыть проект

Открытые методы

Метод Описание
AttributeExistsConstraint ( Type type ) : System

Constructs an AttributeExistsConstraint for a specific attribute Type

Matches ( object actual ) : bool

Tests whether the object provides the expected attribute.

WriteDescriptionTo ( MessageWriter writer ) : void

Writes the description of the constraint to the specified writer

Описание методов

AttributeExistsConstraint() публичный Метод

Constructs an AttributeExistsConstraint for a specific attribute Type
public AttributeExistsConstraint ( Type type ) : System
type System.Type
Результат System

Matches() публичный Метод

Tests whether the object provides the expected attribute.
public Matches ( object actual ) : bool
actual object A Type, MethodInfo, or other ICustomAttributeProvider
Результат bool

WriteDescriptionTo() публичный Метод

Writes the description of the constraint to the specified writer
public WriteDescriptionTo ( MessageWriter writer ) : void
writer MessageWriter
Результат void