Skip to content

Commit

Permalink
Merge pull request #74 from egvijayanand/working
Browse files Browse the repository at this point in the history
Method reference from package
  • Loading branch information
egvijayanand authored Aug 19, 2023
2 parents c4f9d68 + f64913e commit dc35e0a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 0 additions & 7 deletions src/F#-Samples/FSApp/AppBuilderExtensions.fs
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
namespace FSApp.Extensions

open System
open Microsoft.Extensions.DependencyInjection
open Microsoft.Extensions.Logging
open Microsoft.Maui.Hosting
open System.Runtime.CompilerServices

[<Extension>]
type AppBuilderExtensions =
[<Extension>]
static member inline ConfigureServices(builder: MauiAppBuilder, configureDelegate: Action<IServiceCollection>) =
configureDelegate.Invoke(builder.Services)
builder

[<Extension>]
static member inline AddDebugLog(builder: MauiAppBuilder) =
builder.Logging.AddDebug() |> ignore
Expand Down
1 change: 1 addition & 0 deletions src/F#-Samples/FSApp/MauiProgram.fs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ open Microsoft.Extensions.DependencyInjection
open Microsoft.Maui.Accessibility
open Microsoft.Maui.Hosting
open Fabulous.Maui
open VijayAnand.MauiToolkit
open FSApp.Extensions

type MauiProgram =
Expand Down

0 comments on commit dc35e0a

Please sign in to comment.