1 write to MauiContext
Microsoft.Maui.Controls.Compatibility (1)
iOS\Forms.cs (1)
148 MauiContext = context;
24 references to MauiContext
Microsoft.Maui.Controls.Compatibility (24)
iOS\DragAndDropDelegate.cs (1)
253 Forms.MauiContext?.CreateLogger<DropGestureRecognizer>()?.LogWarning(e, null);
iOS\Platform.cs (3)
29 Forms.MauiContext?.CreateLogger("Renderer")?.LogWarning("{bindable} already has a renderer attached to it: {oldvalue}. Please figure out why and then fix it.", bindable, oldvalue); 260 handler = Forms.MauiContext.Handlers.GetHandler(element.GetType()) as IViewHandler; 261 handler.SetMauiContext(Forms.MauiContext);
iOS\Renderers\ButtonLayoutManager.cs (1)
268 Forms.MauiContext?.CreateLogger<ButtonLayoutManager>()?.LogWarning(ex, "Error loading image");
iOS\Renderers\EntryRenderer.cs (3)
470 Forms.MauiContext?.CreateLogger<EntryRenderer>()?.LogWarning(ex, "Failed to set Control.SelectedTextRange from CursorPosition/SelectionLength"); 541 Forms.MauiContext?.CreateLogger<EntryRenderer>()?.LogWarning(ex, "FFailed to set CursorPosition from renderer"); 558 Forms.MauiContext?.CreateLogger<EntryRenderer>()?.LogWarning(ex, "Failed to set SelectionLength from renderer");
iOS\Renderers\ImageButtonRenderer.cs (1)
119 Forms.MauiContext?.CreateLogger<ImageRenderer>()?.LogWarning(ex, "Error loading image");
iOS\Renderers\ImageElementManager.cs (2)
288 Forms.MauiContext?.CreateLogger<ImageRenderer>()?.LogWarning("Image load cancelled"); 292 Forms.MauiContext?.CreateLogger<ImageRenderer>()?.LogWarning(ex, "Image load failed");
iOS\Renderers\ImageRenderer.cs (7)
88 Forms.MauiContext?.CreateLogger<ImageRenderer>()?.LogWarning(ex, "Image loading failed"); 136 Forms.MauiContext?.CreateLogger<FileImageSourceHandler>()?.LogWarning("Could not find image: {imagesource}", imagesource); 147 Forms.MauiContext?.CreateLogger<FileImageSourceHandler>()?.LogWarning("Could not find image: {imagesource}", imagesource); 176 Forms.MauiContext?.CreateLogger<StreamImagesourceHandler>()?.LogWarning("Could not find image: {streamsource}", streamsource); 187 Forms.MauiContext?.CreateLogger<FileImageSourceHandler>()?.LogWarning("Could not find image: {imagesource}", imagesource); 214 Forms.MauiContext?.CreateLogger<ImageLoaderSourceHandler>()?.LogWarning("Could not load image: {imagesource}", imagesource); 227 Forms.MauiContext?.CreateLogger<FileImageSourceHandler>()?.LogWarning("Could not find image: {imagesource}", imagesource);
iOS\Renderers\SwipeViewRenderer.cs (1)
709 Forms.MauiContext?.CreateLogger<SwipeViewRenderer>()?.LogWarning("Cannot load SwipeItem Icon");
iOS\Renderers\WkWebViewRenderer.cs (5)
203 Forms.MauiContext?.CreateLogger<WkWebViewRenderer>()?.LogWarning(formatException, "Unable to Load Url {url} ", url); 208 Forms.MauiContext?.CreateLogger<WkWebViewRenderer>()?.LogWarning(exc, "Unable to Load Url {url}", url); 233 Forms.MauiContext?.CreateLogger<WkWebViewRenderer>()?.LogWarning(ex, "Could not load {url} as local file", url); 641 Forms.MauiContext?.CreateLogger<WkWebViewRenderer>()?.LogWarning(exc, "Syncing Existing Cookies Failed"); 761 Forms.MauiContext?.CreateLogger<WkWebViewRenderer>()?.LogWarning(exc, "Failed to Sync Cookies");