Files
Anatolii Grynchuk 85b362e8cd 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
2026-05-01 00:17:34 +03:00

19 lines
376 B
C#

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;
}
}