C# Класс ZocBuild.Database.Errors.MismatchedObjectTypeError

Represents an error caused by the type of the programmable object not matching its directory.
Наследование: BuildErrorBase
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetMessage ( ) : string

Returns the message for this error.

MismatchedObjectTypeError ( string objectName, DatabaseObjectType expected, DatabaseObjectType actual ) : System

Creates an instance of a mismatched object type error object.

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

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

Returns the message for this error.
public GetMessage ( ) : string
Результат string

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

Creates an instance of a mismatched object type error object.
public MismatchedObjectTypeError ( string objectName, DatabaseObjectType expected, DatabaseObjectType actual ) : System
objectName string The name of the build item.
expected DatabaseObjectType The type of object to which the directory belongs.
actual DatabaseObjectType The type of object in the script content.
Результат System