build break fix - removed missed new constrain which is not required anymore
This commit is contained in:
parent
84e4758df2
commit
92cb497db8
@ -62,7 +62,7 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.SeedWork
|
|||||||
return matchingItem;
|
return matchingItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static T Parse<T, K>(K value, string description, Func<T, bool> predicate) where T : Enumeration, new()
|
private static T Parse<T, K>(K value, string description, Func<T, bool> predicate) where T : Enumeration
|
||||||
{
|
{
|
||||||
var matchingItem = GetAll<T>().FirstOrDefault(predicate);
|
var matchingItem = GetAll<T>().FirstOrDefault(predicate);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user