public static ExpiringLogicDecoration HasExpirable(this ILogic decorated) { Condition.Requires(decorated).IsNotNull(); return(new ExpiringLogicDecoration(decorated, NaturalFalseExpirable.New())); }
public static ExpiringValueOfDecoration <T> HasExpirable <T>(this IValueOf <T> decorated) { Condition.Requires(decorated).IsNotNull(); return(new ExpiringValueOfDecoration <T>(decorated, NaturalFalseExpirable.New())); }