Automated formatting: BOM removal, using sort order, final newlines, whitespace normalization across all projects. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
410 B
C#
22 lines
410 B
C#
using System;
|
|
using PoweredSoft.DynamicQuery;
|
|
using PoweredSoft.DynamicQuery.Core;
|
|
|
|
namespace Svrnty.CQRS.DynamicQuery;
|
|
|
|
public class DynamicQueryAggregate
|
|
{
|
|
public string Path { get; set; }
|
|
public string Type { get; set; }
|
|
|
|
public IAggregate ToAggregate()
|
|
{
|
|
return new Aggregate
|
|
{
|
|
Type = Enum.Parse<AggregateType>(Type),
|
|
Path = Path
|
|
};
|
|
}
|
|
|
|
}
|