Skip to content

Commit dc35e0a

Browse files
authored
Merge pull request #74 from egvijayanand/working
Method reference from package
2 parents c4f9d68 + f64913e commit dc35e0a

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/F#-Samples/FSApp/AppBuilderExtensions.fs

-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
namespace FSApp.Extensions
22

3-
open System
4-
open Microsoft.Extensions.DependencyInjection
53
open Microsoft.Extensions.Logging
64
open Microsoft.Maui.Hosting
75
open System.Runtime.CompilerServices
86

97
[<Extension>]
108
type AppBuilderExtensions =
11-
[<Extension>]
12-
static member inline ConfigureServices(builder: MauiAppBuilder, configureDelegate: Action<IServiceCollection>) =
13-
configureDelegate.Invoke(builder.Services)
14-
builder
15-
169
[<Extension>]
1710
static member inline AddDebugLog(builder: MauiAppBuilder) =
1811
builder.Logging.AddDebug() |> ignore

src/F#-Samples/FSApp/MauiProgram.fs

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ open Microsoft.Extensions.DependencyInjection
44
open Microsoft.Maui.Accessibility
55
open Microsoft.Maui.Hosting
66
open Fabulous.Maui
7+
open VijayAnand.MauiToolkit
78
open FSApp.Extensions
89

910
type MauiProgram =

0 commit comments

Comments
 (0)