2 writes to GlobalInstance
Microsoft.Maui.Controls (2)
DependencyService.cs (2)
55 dependencyImplementation.GlobalInstance = Activator.CreateInstance(dependencyImplementation.ImplementorType); 87 DependencyImplementations[targetType] = new DependencyData { ImplementorType = implementorType, GlobalInstance = instance };
3 references to GlobalInstance
Microsoft.Maui.Controls (3)
DependencyService.cs (3)
49 if (dependencyImplementation.GlobalInstance == null) 53 if (dependencyImplementation.GlobalInstance == null) 59 return (T)dependencyImplementation.GlobalInstance;