Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Olive.Mvc.Microservices/Navigation/Board/BoardBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,18 @@ public class BoardBox
/// </summary>
internal string Title { get; set; }

/// <summary>
/// The count of columns of the box
/// </summary>
internal int ColumnsCount { get; set; }

public void Add(Action<BoardBox> action) => action(this);

BoardBoxContent Add(BoardBoxContent content)
{
content.BoxColour = Colour;
content.BoxTitle = Title;
content.BoxColumnsCount = ColumnsCount;
Navigation.BoardContents.Add(content);
return content;
}
Expand Down
5 changes: 5 additions & 0 deletions Olive.Mvc.Microservices/Navigation/Board/BoardBoxContent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,10 @@ public class BoardBoxContent
/// Type of the item
/// </summary>
public string BoxTitle { get; set; }

/// <summary>
/// The count of columns of the box
/// </summary>
internal int BoxColumnsCount { get; set; }
}
}