Exemple #1
0
 static Validation <Todo> CreateTodo(int position, string title) => F.Valid(Todo.Create)
 .Apply(Position.Create(position))
 .Apply(Title.Create(title));
 private Todo(Position position, Title title)
 {
     Position = position;
     Title    = title;
 }