6 references to Choice
Microsoft.AspNetCore.Http.Extensions.Tests (6)
ParameterBindingMethodCacheTests.cs (6)
178
var type = typeof(
Choice
);
198
var type = typeof(
Choice
);
209
var parseEnum = Expression.Lambda<Func<string,
Choice
>>(Expression.Block(new[] { parsedValue },
213
Assert.Equal(
Choice
.One, parseEnum("One"));
214
Assert.Equal(
Choice
.Two, parseEnum("Two"));
215
Assert.Equal(
Choice
.Three, parseEnum("Three"));