> ## 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 PowerValidator

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

```csharp theme={null}
public class PowerValidator : AbstractValidator<Power>, IValidator<Power>, IValidator
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
AbstractValidator\<Power> ←
[PowerValidator](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.PowerValidator.md)

#### Implements

IValidator\<Power>,
IValidator

#### Inherited Members

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

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/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/2025-r1/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/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### PowerValidator()

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