more adjusted to support params.

This commit is contained in:
David Lebee
2021-02-02 19:32:39 -05:00
parent ca307194db
commit 30e15e310c
10 changed files with 151 additions and 91 deletions
@@ -20,8 +20,8 @@ namespace PoweredSoft.CQRS.DynamicQuery.Discover
{
get
{
if (NameAttribute != null)
return NameAttribute.Name;
if (OverridableName != null)
return OverridableName;
var pluralizer = new Pluralize.NET.Pluralizer();
return pluralizer.Pluralize(DestinationType.Name);
@@ -29,5 +29,6 @@ namespace PoweredSoft.CQRS.DynamicQuery.Discover
}
public Type ParamsType { get; internal set; }
public string OverridableName { get; internal set; }
}
}