상속: BaseModel
예제 #1
0
 public override bool CanModify(User user)
 {
     return IsValid && Id == user.Id;
 }
예제 #2
0
 public override bool CanModify(User user)
 {
     throw new NotImplementedException("Need the ToDoList as well.");
 }
예제 #3
0
 public bool CanModify(User user, ToDoList toDoList)
 {
     return IsValid && BelongsToList(toDoList) && toDoList.CanModify(user);
 }
예제 #4
0
 public virtual bool CanModify(User user)
 {
     return true;
 }