TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

interface IValidatable in Tinman.Core.Validating

Base interface for classes that can validate their instances.

interface IValidatable base of ConfigDoc
  ConfigDomain
  ConfigValue
  IDocumentNode
  IFileData
  IImageReader
  IModelReader
  IOperation
  IPsiNode
  IShapeReader
  MeshOptions
  VirtualPath

Methods

Validate

Validates the state of this object.

method Validate (Validator validator)
params validator [not-null] The validator object.

Extensions

ValidateInfo

Validates the given object.

method ValidateInfo (object context = null, string member = null)
type ValidateResult
params context Optional context object. Defaults to null.
  member Optional name of root member. Defaults to null.
returns The validation result.

ValidateThrow

Validates the given object and throws a ValidatingException if the validation fails because of errors (see Error).

method ValidateThrow (string source, object context = null, string member = null, string message = null, bool warnings = true)
params source Error source tag.
  context Optional context object. Defaults to null.
  member Optional name of root member. Defaults to null.
  message Optional error message. Defaults to null.
  warnings Treat warnings as errors? Defaults to true.