Ejemplo n.º 1
0
 public static Polyface IsDatedExpirable(this Polyface root, DateTime expiry)
 {
     Condition.Requires(root).IsNotNull();
     var composited = new NaturalDatedExpirable(expiry);
     root.Is(composited);
     return root;
 }
Ejemplo n.º 2
0
        public static Polyface IsDatedExpirable(this Polyface root, DateTime expiry)
        {
            Condition.Requires(root).IsNotNull();
            var composited = new NaturalDatedExpirable(expiry);

            root.Is(composited);
            return(root);
        }