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

ExactTypeConstraint is used to test that an object is of the exact type provided in the constructor
Наследование: TypeConstraint
Показать файл Открыть проект

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

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

Construct an ExactTypeConstraint for a given Type

Matches ( object actual ) : bool

Test that an object is of the exact type specified

WriteDescriptionTo ( MessageWriter writer ) : void

Write the description of this constraint to a MessageWriter

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

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

Construct an ExactTypeConstraint for a given Type
public ExactTypeConstraint ( Type type ) : System
type System.Type The expected Type.
Результат System

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

Test that an object is of the exact type specified
public Matches ( object actual ) : bool
actual object The actual value.
Результат bool

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

Write the description of this constraint to a MessageWriter
public WriteDescriptionTo ( MessageWriter writer ) : void
writer MessageWriter The MessageWriter to use
Результат void