StringInValidator Class

Summary

A validator that is used to verify the value is in a defined list without creating a specific enum
StringInValidator
PropertyValidator

Syntax

public class StringInValidator : PropertyValidator

Attributes

Type Description
NullableContextAttribute
NullableAttribute
PublicAPIAttribute

Constructors

Properties

Name Value Summary
Values IEnumerable<string>
The values that being enforced.

Methods

Extension Methods