void ICMService.DeleteTodoPriority(TodoPriority todoPriority) { using (DomainService service = new DomainService()) { service.DeleteTodoPriority(todoPriority); } }
public TodoCreationInfo(Guid userId, string title, string text, TodoPriority?priority) { UserId = userId; Title = title ?? throw new ArgumentNullException(nameof(title)); Text = text ?? throw new ArgumentNullException(nameof(text)); Priority = priority ?? TodoPriority.Major; }
public Todo(string title, string description, DateTime completionDate, TodoPriority todoPriority) { SetTitle(title); SetDescription(description); SetCompletionDate(completionDate); SetPriority(todoPriority); Status = TodoStatus.Todo; }
public ToDoItem(TodoPriority priority, string description, QualifiedSelection qualifiedSelection) { _priority = priority; _description = description; _selection = qualifiedSelection; _projectName = qualifiedSelection.QualifiedName.Project.Name; _moduleName = qualifiedSelection.QualifiedName.Component.Name; _lineNumber = qualifiedSelection.Selection.StartLine; }
public ToDoItem(TodoPriority priority, string description, QualifiedSelection qualifiedSelection) { _priority = priority; _description = description; _selection = qualifiedSelection; _projectName = qualifiedSelection.QualifiedName.Project.Name; _moduleName = qualifiedSelection.QualifiedName.Component.Name; _lineNumber = qualifiedSelection.Selection.StartLine; }
public TodoItem(Guid id, Guid userId, string title, string text, TodoPriority priority, DateTime createdAt) { Id = id; UserId = userId; Title = title ?? Unnamed; Text = text ?? string.Empty; Priority = priority; State = TodoState.NotStarted; CreatedAt = createdAt; LastUpdateAt = createdAt; }
public ToDoMarker(string text, TodoPriority priority) : this(text) { }
public ToDoMarker(string text, TodoPriority priority) : this(text) { }
public ToDoItem(TodoPriority priority, CommentNode comment) : this(priority, comment.CommentText, comment.QualifiedSelection) { }
public ToDoMarker(string text, TodoPriority priority) { Text = text; Priority = priority; }
public void SetPriority(TodoPriority priority) => Priority = priority;
public ToDoItem(TodoPriority priority, CommentNode comment) : this(priority, comment.CommentText, comment.QualifiedSelection) { }
public ToDoMarker(string text, TodoPriority priority) { Text = text; Priority = priority; }