Skip to content

Commit

Permalink
Merge pull request #147 from FmgLib/task/FluentMethodNameFixes
Browse files Browse the repository at this point in the history
Task/fluent method name fixes
  • Loading branch information
gonultasmf authored Oct 21, 2024
2 parents 42b4b2d + d4cd644 commit be16f18
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static T RemoveResource<T>(this T self, string key) where T : Microsoft.M
return self;
}

public static T MergedResources<T>(this T self, params ResourceDictionary[] resources) where T : Microsoft.Maui.Controls.ResourceDictionary
public static T MergedDictionaries<T>(this T self, params ResourceDictionary[] resources) where T : Microsoft.Maui.Controls.ResourceDictionary
{
foreach (var resource in resources)
{
Expand All @@ -53,7 +53,7 @@ public static T MergedResources<T>(this T self, params ResourceDictionary[] reso
return self;
}

public static T MergedResources<T>(this T self, IList<ResourceDictionary> resources) where T : Microsoft.Maui.Controls.ResourceDictionary
public static T MergedDictionaries<T>(this T self, IList<ResourceDictionary> resources) where T : Microsoft.Maui.Controls.ResourceDictionary
{
foreach (var resource in resources)
{
Expand Down
2 changes: 1 addition & 1 deletion src/FmgLib.MauiMarkup/FmgLib.MauiMarkup.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageId>FmgLib.MauiMarkup</PackageId>
<Summary>FmgLib.MauiMarkup with C# Markup classes and fluent helper methods</Summary>
<Title>FmgLib.MauiMarkup</Title>
<Version>8.8.5</Version>
<Version>8.8.5.1</Version>
<Authors>FmgYazılım</Authors>
<Company>Fmg Yazılım</Company>
<Copyright>©2024</Copyright>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- The package metadata. Fill in the properties marked as TODO below -->
<!-- Follow the instructions on https://learn.microsoft.com/en-us/nuget/create-packages/package-authoring-best-practices -->
<PackageId>FmgLib.MauiMarkup.Template</PackageId>
<PackageVersion>3.3.2</PackageVersion>
<PackageVersion>3.3.2.1</PackageVersion>
<Title>FmgLib.MauiMarkup.Template</Title>
<Authors>FmgYazılım</Authors>
<Description>C# Markup (No XAML) templates for .NET MAUI application with Hotreload process.</Description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public partial class App : Application
public App()
{
this
.Resources(new ResourceDictionary().MergedResources(AppStyles.Default))
.Resources(new ResourceDictionary().MergedDictionaries(AppStyles.Default))
.MainPage(new AppShell());
}
}

0 comments on commit be16f18

Please sign in to comment.