chore: add hrynco common library solution

- add the standalone HrynCo.Common solution and projects
- include the shared common library source and tests
- add package metadata and a repo gitignore
This commit is contained in:
Anatolii Grynchuk
2026-05-01 00:17:34 +03:00
commit 85b362e8cd
38 changed files with 1452 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
namespace HrynCo.Common.Tree;
public sealed record BreadcrumbNode<TKey>
{
public BreadcrumbNode(TKey Id, string Name)
{
this.Id = Id;
this.Name = Name;
}
public TKey Id { get; init; }
public string Name { get; init; }
public void Deconstruct(out TKey Id, out string Name)
{
Id = this.Id;
Name = this.Name;
}
}