jackfiled
9111affeec
All checks were successful
Build blog docker image / Build-Blog-Image (push) Successful in 1m34s
Reviewed-on: #4
11 lines
306 B
C#
11 lines
306 B
C#
using System.Collections.Concurrent;
|
|
|
|
namespace YaeBlog.Core.Models;
|
|
|
|
public sealed class BlogContents(ConcurrentBag<BlogContent> drafts, ConcurrentBag<BlogContent> posts)
|
|
{
|
|
public ConcurrentBag<BlogContent> Drafts { get; } = drafts;
|
|
|
|
public ConcurrentBag<BlogContent> Posts { get; } = posts;
|
|
}
|