C# Class Domain.Client.ValueObjects.Recency

Show file Open project: AdrianFreemantle/DDD Class Usage Examples

Public Methods

Method Description
Equals ( Recency other ) : bool
Equals ( object obj ) : bool
FromBillingResult ( BillingResult billingResult ) : Recency
GetHashCode ( ) : int
IncreaseRecency ( ) : Recency
IsUpToDate ( ) : bool
ShouldAccountBeLapsed ( ) : bool
ShouldAccountBeSuspended ( ) : bool
UpToDate ( ) : Recency
operator ( ) : bool

Protected Methods

Method Description
Recency ( int value )

Method Details

Equals() public method

public Equals ( Recency other ) : bool
other Recency
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FromBillingResult() public method

public FromBillingResult ( BillingResult billingResult ) : Recency
billingResult BillingResult
return Recency

GetHashCode() public method

public GetHashCode ( ) : int
return int

IncreaseRecency() public method

public IncreaseRecency ( ) : Recency
return Recency

IsUpToDate() public method

public IsUpToDate ( ) : bool
return bool

Recency() protected method

protected Recency ( int value )
value int

ShouldAccountBeLapsed() public method

public ShouldAccountBeLapsed ( ) : bool
return bool

ShouldAccountBeSuspended() public method

public ShouldAccountBeSuspended ( ) : bool
return bool

UpToDate() public static method

public static UpToDate ( ) : Recency
return Recency

operator() public static method

public static operator ( ) : bool
return bool