StringInValidator Class

Summary

A validator that is used to verify the value is in a defined list without creating a specific enum
graph BT Type-->Base0["PropertyValidator"] Type["StringInValidator"] class Type type-node

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