1 type derived from HasInjectableProperty
Microsoft.AspNetCore.Components.Tests (1)
DependencyInjectionTest.cs (1)
219
class HasInheritedInjectedProperty :
HasInjectableProperty
{ }
6 references to HasInjectableProperty
Microsoft.AspNetCore.Components.Tests (6)
DependencyInjectionTest.cs (6)
49
Assert.Equal($"Cannot provide a value for property '{nameof(
HasInjectableProperty
.MyService)}' " +
59
InstantiateComponent<
HasInjectableProperty
>();
62
Assert.Equal($"Cannot provide a value for property '{nameof(
HasInjectableProperty
.MyService)}' " +
63
$"on type '{typeof(
HasInjectableProperty
).FullName}'. There is no registered service " +
91
var
instance = InstantiateComponent<
HasInjectableProperty
>();