-
-
Notifications
You must be signed in to change notification settings - Fork 2
Consider to remove the Injection of IFileSaver and IFilePicker #269
Copy link
Copy link
Closed
Labels
dependenciesRelevant to third party dependenciesRelevant to third party dependenciesenhancementNew feature or requestNew feature or requestt/housekeeping ♻︎Project cleanupProject cleanup
Milestone
Description
SharedMauiCoreLibrary/src/SharedMauiCoreLibrary/Hosting/AppHostBuilderExtensions.cs
Line 38 in 99737bf
| public static MauiAppBuilder ConfigureFileServices(this MauiAppBuilder builder) |
public static MauiAppBuilder ConfigureFileServices(this MauiAppBuilder builder)
{
builder.Services.AddSingleton<IFileSaver>(FileSaver.Default);
builder.Services.AddSingleton<ILauncher>(Launcher.Default);
builder.Services.AddSingleton<IFilePicker>(FilePicker.Default);
return builder;
}Those are also provided by the CommunityToolkit.
Docs: https://learn.microsoft.com/de-de/dotnet/communitytoolkit/maui/essentials/file-saver?tabs=windows
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
dependenciesRelevant to third party dependenciesRelevant to third party dependenciesenhancementNew feature or requestNew feature or requestt/housekeeping ♻︎Project cleanupProject cleanup