This commit is contained in:
Mike Griese
2025-08-07 14:19:06 -05:00
parent 95cfdbb93d
commit 7eaa701920
8 changed files with 19 additions and 17 deletions

View File

@@ -172,10 +172,11 @@ internal sealed partial class SampleListPage : ListPage
{
Title = "Get the name of the Foreground window",
},
new ListItem(new JustHasProps())
{
Title = "Not actually invokable",
},
// new ListItem(new JustHasProps())
// {
// Title = "Not actually invokable",
// },
new ListItem(new CommandWithProperties())
{
Title = "I have properties",
@@ -191,7 +192,7 @@ internal sealed partial class SampleListPage : ListPage
];
}
internal sealed partial class CommandWithProperties : InvokableCommand, ICommand2
public sealed partial class CommandWithProperties : InvokableCommand, ICommand2
{
public override string Name => "Whatever";
@@ -204,7 +205,7 @@ internal sealed partial class SampleListPage : ListPage
}
#nullable enable
internal sealed partial class OtherCommandWithProperties : ICommand2, IInvokableCommand
public sealed partial class OtherCommandWithProperties : ICommand2, IInvokableCommand
{
public string Name => "Revetahw";
@@ -228,7 +229,7 @@ internal sealed partial class SampleListPage : ListPage
};
}
internal sealed partial class JustHasProps : ICommand2
public sealed partial class JustHasProps : ICommand2
{
public string Name => "JustHasProps";
@@ -252,7 +253,7 @@ internal sealed partial class SampleListPage : ListPage
};
}
internal sealed partial class AnotherCommandWithProperties : InvokableCommand, IHaveProperties
public sealed partial class AnotherCommandWithProperties : InvokableCommand, IHaveProperties
{
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(IHaveProperties))]
static AnotherCommandWithProperties()