> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class VehicleValidator

Namespace: [VM.Models.Pre.Drivetrain.VehicleSimulator](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator)\
Assembly: VM.Models.Pre.Drivetrain.VehicleSimulator.dll

```csharp theme={null}
public class VehicleValidator : AbstractValidator<Vehicle>, IValidator<Vehicle>, IValidator
```

#### Inheritance

object ←
AbstractValidator\<Vehicle> ←
[VehicleValidator](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.VehicleValidator.md)

#### Implements

IValidator\<Vehicle>,
IValidator

#### Inherited Members

AbstractValidator\<Vehicle>.Validate(Vehicle),
AbstractValidator\<Vehicle>.ValidateAsync(Vehicle, CancellationToken),
AbstractValidator\<Vehicle>.Validate(ValidationContext\<Vehicle>),
AbstractValidator\<Vehicle>.ValidateAsync(ValidationContext\<Vehicle>, CancellationToken),
AbstractValidator\<Vehicle>.CreateDescriptor(),
AbstractValidator\<Vehicle>.RuleFor\<TProperty>(Expression\<Func\<Vehicle, TProperty>>),
AbstractValidator\<Vehicle>.Transform\<TProperty, TTransformed>(Expression\<Func\<Vehicle, TProperty>>, Func\<TProperty, TTransformed>),
AbstractValidator\<Vehicle>.Transform\<TProperty, TTransformed>(Expression\<Func\<Vehicle, TProperty>>, Func\<Vehicle, TProperty, TTransformed>),
AbstractValidator\<Vehicle>.RuleForEach\<TElement>(Expression\<Func\<Vehicle, IEnumerable\<TElement>>>),
AbstractValidator\<Vehicle>.TransformForEach\<TElement, TTransformed>(Expression\<Func\<Vehicle, IEnumerable\<TElement>>>, Func\<TElement, TTransformed>),
AbstractValidator\<Vehicle>.TransformForEach\<TElement, TTransformed>(Expression\<Func\<Vehicle, IEnumerable\<TElement>>>, Func\<Vehicle, TElement, TTransformed>),
AbstractValidator\<Vehicle>.RuleSet(string, Action),
AbstractValidator\<Vehicle>.When(Func\<Vehicle, bool>, Action),
AbstractValidator\<Vehicle>.When(Func\<Vehicle, ValidationContext\<Vehicle>, bool>, Action),
AbstractValidator\<Vehicle>.Unless(Func\<Vehicle, bool>, Action),
AbstractValidator\<Vehicle>.Unless(Func\<Vehicle, ValidationContext\<Vehicle>, bool>, Action),
AbstractValidator\<Vehicle>.WhenAsync(Func\<Vehicle, CancellationToken, Task\<bool>>, Action),
AbstractValidator\<Vehicle>.WhenAsync(Func\<Vehicle, ValidationContext\<Vehicle>, CancellationToken, Task\<bool>>, Action),
AbstractValidator\<Vehicle>.UnlessAsync(Func\<Vehicle, CancellationToken, Task\<bool>>, Action),
AbstractValidator\<Vehicle>.UnlessAsync(Func\<Vehicle, ValidationContext\<Vehicle>, CancellationToken, Task\<bool>>, Action),
AbstractValidator\<Vehicle>.Include(IValidator\<Vehicle>),
AbstractValidator\<Vehicle>.Include\<TValidator>(Func\<Vehicle, TValidator>),
AbstractValidator\<Vehicle>.GetEnumerator(),
AbstractValidator\<Vehicle>.EnsureInstanceNotNull(object),
AbstractValidator\<Vehicle>.PreValidate(ValidationContext\<Vehicle>, ValidationResult),
AbstractValidator\<Vehicle>.RaiseValidationException(ValidationContext\<Vehicle>, ValidationResult),
AbstractValidator\<Vehicle>.OnRuleAdded(IValidationRule\<Vehicle>),
AbstractValidator\<Vehicle>.CascadeMode,
AbstractValidator\<Vehicle>.ClassLevelCascadeMode,
AbstractValidator\<Vehicle>.RuleLevelCascadeMode

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### VehicleValidator()

```csharp theme={null}
public VehicleValidator()
```
