ValidateMessageFormat

Description

[Flags]
enum Tinman.Core.Validating.ValidateMessageFormat

Enumeration of format flags for the string representation of ValidateMessage objects.

Public / Constants

None

public constant None → (0:int32)

No format flags.

File

public constant File → (1:int32)

Show the file path, for example:

## /path/to/the/File.cs

If this flag is omitted, there will be no ## lines in the string representation.

Path

public constant Path → (2:int32)

Show the logical data model path if not redundant, for example:

@: CodeUnits['File'].Declaration

If this flag is omitted, there will be no @: lines in the string representation. The data model path will be omitted if the Input part is present.

Type

public constant Type → (4:int32)

Show the message type, for example:

>> Error
>> Syntax / Error

If this flag is omitted, there will be no >> lines in the string representation.

Input

public constant Input → (8:int32)

Show the source code input, for example:

1234: #region Native {0D12D3E3-8D90-4264-B264-73C00431DE47}
  ___/"""""""""""""""""""""""""""""""""""""""""""""""""""""\

If this flag is omitted, there will be no 1234: lines in the string representation.

Text

public constant Text → (16:int32)

Show the message text, for example:

[CX01001] missing native code: CPP

If none of File, Path and Type is present, the message text lines will not be indented with whitespaces.

All

public constant All → (31:int32)

All format flags.