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
  IModelPart
  IModelReader
  IOperation
  IPsiNode
  IRenderEffectBase
  IShapeReader
  MeshChunkBuilder
  MeshOptions
  ModelScanner
  SceneOptions
  VirtualPath

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.

ValidateThrowErrors

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

method ValidateThrowErrors (string source, object context = null, string member = null, string message = null)
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.

Exceptions:

ValidateThrowErrorsAndWarnings

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

method ValidateThrowErrorsAndWarnings (string source, object context = null, string member = null, string message = null)
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.

Exceptions:

Methods

Validate

Validates the state of this object.

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