Class ConsentUserAgreementDataExtensions
Utility class for consent agreement data
Inheritance
System.Object
ConsentUserAgreementDataExtensions
Namespace: ImageVault.Common.Data
Assembly: ImageVault.Common.dll
Syntax
public static class ConsentUserAgreementDataExtensions : Object
Methods
GetAgreementState(ConsentUserAgreementData)
Calculates the status of the supplied data
Declaration
public static AgreementState GetAgreementState(this ConsentUserAgreementData consentData)
Parameters
| Type | Name | Description |
|---|---|---|
| ConsentUserAgreementData | consentData |
Returns
| Type | Description |
|---|---|
| AgreementState |
GetAgreementSymbolState(ConsentUserAgreementData)
Gets the AgreementSymbolState for a consent user agreement
Declaration
public static AgreementSymbolStates GetAgreementSymbolState(this ConsentUserAgreementData consentUserAgreementData)
Parameters
| Type | Name | Description |
|---|---|---|
| ConsentUserAgreementData | consentUserAgreementData |
Returns
| Type | Description |
|---|---|
| AgreementSymbolStates |
GetValidToDateStatus(ConsentUserAgreementData)
Calculates the status of the supplied data
Declaration
public static ValidToDateStatus GetValidToDateStatus(this ConsentUserAgreementData consentData)
Parameters
| Type | Name | Description |
|---|---|---|
| ConsentUserAgreementData | consentData |
Returns
| Type | Description |
|---|---|
| ValidToDateStatus |