C# Class Agathas.Storefront.Shopping.Model.Baskets.NonNegativeQuantity

Mostra file Open project: elbandit/PPPDDD Class Usage Examples

Public Methods

Method Description
Add ( NonNegativeQuantity quantity ) : NonNegativeQuantity
NonNegativeQuantity ( int value )
is_zero ( ) : bool

Private Methods

Method Description
NonNegativeQuantity ( )

Method Details

Add() public method

public Add ( NonNegativeQuantity quantity ) : NonNegativeQuantity
quantity NonNegativeQuantity
return NonNegativeQuantity

NonNegativeQuantity() public method

public NonNegativeQuantity ( int value )
value int

is_zero() public method

public is_zero ( ) : bool
return bool