Table of Contents

Class ValidateValueMetadata<T>

Namespace
Stride.Core
Assembly
Stride.Core.dll

A metadata to allow validation/coercision of a value before storing the value into the PropertyContainer.

public class ValidateValueMetadata<T> : ValidateValueMetadata

Type Parameters

T
Inheritance
ValidateValueMetadata<T>
Inherited Members

Constructors

ValidateValueMetadata(ValidateValueCallback<T>)

Initializes a new instance of the ValidateValueMetadata<T> class.

public ValidateValueMetadata(ValidateValueCallback<T> validateValueCallback)

Parameters

validateValueCallback ValidateValueCallback<T>

The validate value callback.

Exceptions

ArgumentNullException

validateValueCallback

Properties

ValidateValueCallback

Gets the validate value callback.

public ValidateValueCallback<T> ValidateValueCallback { get; }

Property Value

ValidateValueCallback<T>

The validate value callback.

Methods

Validate(ref object)

public override void Validate(ref object obj)

Parameters

obj object