C# Class CommandLine.Core.SpecificationPropertyExtensions

Datei anzeigen Open project: cosmo0/commandline

Public Methods

Method Description
GetConversionType ( this specProp ) : Type
Validate ( this specProps, IEnumerable rules ) : IEnumerable>
WithSpecification ( this specProp, Specification newSpecification ) : SpecificationProperty
WithValue ( this specProp, Maybe newValue ) : SpecificationProperty

Method Details

GetConversionType() public static method

public static GetConversionType ( this specProp ) : Type
specProp this
return System.Type

Validate() public static method

public static Validate ( this specProps, IEnumerable rules ) : IEnumerable>
specProps this
rules IEnumerable
return IEnumerable>

WithSpecification() public static method

public static WithSpecification ( this specProp, Specification newSpecification ) : SpecificationProperty
specProp this
newSpecification Specification
return SpecificationProperty

WithValue() public static method

public static WithValue ( this specProp, Maybe newValue ) : SpecificationProperty
specProp this
newValue Maybe
return SpecificationProperty