Beispiel #1
0
 /// <summary>
 /// If false, the object underlying the interface is not valid. If true, the object may or may not be valid.
 /// </summary>
 /// <param name="c"></param>
 /// <returns></returns>
 public static bool IsValid(this IPickupCount c)
 {
     return(c.Count > 0);
 }
Beispiel #2
0
 /// <summary>
 /// Add a pickup count object to the PickupSummary IEnumerable
 /// </summary>
 /// <param name="s"></param>
 /// <returns></returns>
 public PickupFluent <T> AddPickupSummary(IPickupCount s)
 {
     _pickup.AddPickupCount(s);
     return(this);
 }
Beispiel #3
0
 /// <summary>
 /// Add a pickup count object to the PickupSummary IEnumerable
 /// </summary>
 /// <param name="p"></param>
 public void AddPickupCount(IPickupCount p)
 {
     ModelHelper.AddToEnumerable <IPickupCount, IPickupCount>(p, () => PickupSummary, (x) => PickupSummary = x);
 }