Template
26 lines
569 B
C#
26 lines
569 B
C#
using Strata.DecisionSupport.Biz.Parameters;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Strata.DecisionSupport.Biz.Test.Unit.UnitTests
|
|
{
|
|
public class GenericQueryInfo : IQueryInfo
|
|
{
|
|
public string Name { get; set; }
|
|
|
|
public GenericQueryInfo(string name)
|
|
{
|
|
Name = name;
|
|
}
|
|
|
|
public Dictionary<string, object> Dictionary() => new Dictionary<string, object>
|
|
{
|
|
{ "name", Name }
|
|
};
|
|
|
|
public dynamic Parameters() => new
|
|
{
|
|
Name
|
|
};
|
|
}
|
|
}
|