C# Class ZocBuild.Database.Errors.MismatchedObjectTypeError

Represents an error caused by the type of the programmable object not matching its directory.
Inheritance: BuildErrorBase
Afficher le fichier Open project: Zocdoc/ZocBuild.Database Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

GetMessage() public méthode

Returns the message for this error.
public GetMessage ( ) : string
Résultat string

MismatchedObjectTypeError() public méthode

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.
Résultat System