C# Class Endjin.Leasing.AzureLeasePolicyValidator

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

Public Methods

Method 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 method

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
return void