C# Class Bifrost.FluentValidation.MetaData.NotNullGenerator

Represents the generater that can generate a NotNull rule from an INotNullValidator
Inheritance: ICanGenerateRule
Show file Open project: dolittle/Bifrost

Public Methods

Method Description
GeneratorFrom ( string propertyName, IPropertyValidator propertyValidator ) : Bifrost.Validation.MetaData.Rule

Method Details

GeneratorFrom() public method

public GeneratorFrom ( string propertyName, IPropertyValidator propertyValidator ) : Bifrost.Validation.MetaData.Rule
propertyName string
propertyValidator IPropertyValidator
return Bifrost.Validation.MetaData.Rule