C# Class ZocBuild.Database.Errors.MismatchedSchemaError

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

Public Methods

Method Description
GetMessage ( ) : string

Returns the message for this error.

MismatchedSchemaError ( string objectName, string expected, string actual ) : System

Creates an instance of a mismatched schema error object.

Method Details

GetMessage() public method

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

MismatchedSchemaError() public method

Creates an instance of a mismatched schema error object.
public MismatchedSchemaError ( string objectName, string expected, string actual ) : System
objectName string The name of the build item.
expected string The schema to which the directory belongs.
actual string The schema of the object in the script content.
return System