6 references to DependencyResolver
Microsoft.Maui.Controls (6)
DependencyService.cs (1)
24
var result =
DependencyResolver
.Resolve(typeof(T)) as T;
Effect.cs (1)
37
result = (Effect)
DependencyResolver
.ResolveOrCreate(effectType.Type);
Hosting\Effects\AppHostBuilderExtensions.cs (2)
80
if (
DependencyResolver
.Resolve(typeof(TPlatformEffect)) is TPlatformEffect pe)
94
return (PlatformEffect)
DependencyResolver
.ResolveOrCreate(TPlatformEffect);
Registrar.cs (2)
112
object handler =
DependencyResolver
.ResolveOrCreate(handlerType);
130
returnValue = (TRegistrable)
DependencyResolver
.ResolveOrCreate(handlerType, source, visual?.GetType(), args);