예제 #1
0
        public Item(string name, PriceRange priceRange)
        {
            Name       = name;
            PriceRange = priceRange;

            Validate(this, new ItemValidator());
        }
예제 #2
0
 public Price HasOne(PriceRange priceRange)
 {
     PriceRange = priceRange;
     return(this);
 }
예제 #3
0
 public void HasOne(PriceRange priceRange)
 {
     PriceRange = priceRange;
 }