C# Class ZocBuild.Database.Errors.MismatchedObjectTypeError

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

Public Methods

Method 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 method

Returns the message for this error.
public GetMessage ( ) : string
return string

MismatchedObjectTypeError() public method

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.
return System