public static bool TryWithCreatedAt(this IDirectory model, out ICreatedAt feature)
 {
     Ensure.NotNull(model, "model");
     return(model.TryWith <ICreatedAt>(out feature));
 }
Exemple #2
0
 public static void SetCreatedAt(ICreatedAt model)
 {
     model.CreatedAt = DateTime.Now;
 }