public IAvidMark AddMark(int categoryId, string text, bool visible, bool underlined, AvidWindow position) { var newMark = new AvidMarkViewModel(this, text, visible, underlined, categoryId, -1, position); _marks.Add(newMark); RecalculateSharing(); return newMark; }
public IAvidMark AddMark(int categoryId, string text, bool visible, bool underlined, AvidWindow position) { var newMark = new AvidMarkViewModel(this, text, visible, underlined, categoryId, -1, position); _marks.Add(newMark); RecalculateSharing(); return(newMark); }