builder.Services.AddTransient

pull/44/head
Nathan Ricci 2022-03-08 16:16:30 -05:00
parent dfd63f29f8
commit 80c37a8f1e
1 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,16 @@ public static class MauiProgram
Barrel.ApplicationId = "dotnetpodcasts";
builder.Services.AddTransient<CategoriesPage>();
builder.Services.AddTransient<CategoryPage>();
builder.Services.AddTransient<DiscoverPage>();
builder.Services.AddTransient<EpisodeDetailPage>();
builder.Services.AddTransient<ListenLaterPage>();
builder.Services.AddTransient<ListenTogetherPage>();
builder.Services.AddTransient<SettingsPage>();
builder.Services.AddTransient<ShowDetailPage>();
builder.Services.AddTransient<SubscriptionsPage>();
return builder.Build();
}
}