C# Class Endjin.Leasing.AzureLeasePolicyValidator

Describes the behavior for validating Lease Policies.
Inheritance: ILeasePolicyValidator
Afficher le fichier Open project: endjin/Endjin.Leasing Class Usage Examples

Méthodes publiques

Méthode Description
Validate ( ILeasePolicy leasePolicy ) : void

Validates whether the proposed ILeasePolicy is valid for the given lease implementation.

If lease policy is invalid thrown a InvalidArgumentException

Method Details

Validate() public méthode

Validates whether the proposed ILeasePolicy is valid for the given lease implementation.
If lease policy is invalid thrown a InvalidArgumentException
public Validate ( ILeasePolicy leasePolicy ) : void
leasePolicy ILeasePolicy ILeasePolicy to validate
Résultat void