Skip to content

Commit 3bf28e6

Browse files
committed
Generated source for Uno SDK 6.0 and WindowsAppSDK 1.7
1 parent 7c8fdba commit 3bf28e6

File tree

14 files changed

+3411
-117804
lines changed

14 files changed

+3411
-117804
lines changed

src/CSharpMarkup.WinUI.Uno.Extensions.Reactive/Generated/SourceGenerators/SourceGenerators.CsMarkupApiSourceGenerator/UnoWinUI.NET8_0_BrowserWasm.cs

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,21 @@ namespace CSharpMarkup.WinUI.Uno.Extensions.Reactive // SmoothVisualStateManager
215215
public static partial class Helpers
216216
{
217217
/// <summary>Create a <see cref="UnoExtensionsReactive.UI.SmoothVisualStateManager"/></summary>
218-
public static SmoothVisualStateManager SmoothVisualStateManager(UnoExtensionsReactive.UI.SmoothVisualStateRuleCollection Rules)
218+
public static SmoothVisualStateManager SmoothVisualStateManager(params UnoExtensionsReactive.UI.SmoothVisualStateRule[] Rules)
219219
{
220220
var ui = new UnoExtensionsReactive.UI.SmoothVisualStateManager();
221-
if (Rules != null) ui.Rules = Rules;
221+
for (int i = 0; i < Rules.Length; i++)
222+
{
223+
var child = Rules[i];
224+
if (child == null) continue;
225+
226+
var subChildren = Spreader<UnoExtensionsReactive.UI.SmoothVisualStateRule>.ExtractChildren(child);
227+
if (subChildren is not null)
228+
for (int j = 0; j < subChildren.Length; j++)
229+
ui.Rules.Add(subChildren[j]);
230+
else
231+
ui.Rules.Add(child);
232+
}
222233
return CSharpMarkup.WinUI.Uno.Extensions.Reactive.SmoothVisualStateManager.StartChain(ui);
223234
}
224235

src/CSharpMarkup.WinUI.Uno.Toolkit/Generated/SourceGenerators/SourceGenerators.CsMarkupApiSourceGenerator/UnoWinUI.NET8_0_Mac.cs

Lines changed: 0 additions & 3918 deletions
This file was deleted.

src/CSharpMarkup.WinUI/Generated/SourceGenerators/SourceGenerators.CsMarkupApiSourceGenerator/UnoWinUI.NET8_0_ANDROID.cs

Lines changed: 370 additions & 36 deletions
Large diffs are not rendered by default.

src/CSharpMarkup.WinUI/Generated/SourceGenerators/SourceGenerators.CsMarkupApiSourceGenerator/UnoWinUI.NET8_0_IOS.cs

Lines changed: 378 additions & 62 deletions
Large diffs are not rendered by default.

src/CSharpMarkup.WinUI/Generated/SourceGenerators/SourceGenerators.CsMarkupApiSourceGenerator/UnoWinUI.NET8_0_MACCATALYST.cs

Lines changed: 378 additions & 62 deletions
Large diffs are not rendered by default.

src/CSharpMarkup.WinUI/Generated/SourceGenerators/SourceGenerators.CsMarkupApiSourceGenerator/UnoWinUI.NET8_0_Mac.cs

Lines changed: 0 additions & 56684 deletions
This file was deleted.

src/CSharpMarkup.WinUI/Generated/SourceGenerators/SourceGenerators.CsMarkupApiSourceGenerator/UnoWinUI.NET8_0_WasmOrSkia.cs

Lines changed: 362 additions & 98 deletions
Large diffs are not rendered by default.

src/CSharpMarkup.WinUI/Generated/SourceGenerators/SourceGenerators.CsMarkupApiSourceGenerator/UnoWinUI.NET9_0_Android.cs

Lines changed: 370 additions & 36 deletions
Large diffs are not rendered by default.

src/CSharpMarkup.WinUI/Generated/SourceGenerators/SourceGenerators.CsMarkupApiSourceGenerator/UnoWinUI.NET9_0_Mac.cs

Lines changed: 0 additions & 56684 deletions
This file was deleted.

src/CSharpMarkup.WinUI/Generated/SourceGenerators/SourceGenerators.CsMarkupApiSourceGenerator/UnoWinUI.NET9_0_MacCatalyst.cs

Lines changed: 378 additions & 62 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)