Files
bodyshop-uploader/BodyshopUploader/ViewModels/MainViewModel.commands.cs
2020-01-16 23:22:16 -08:00

27 lines
630 B
C#

using System;
using System.Windows.Input;
namespace BodyshopUploader.ViewModels
{
public partial class MainViewModel : BaseViewModel
{
private ICommand _testCommand;
public ICommand TestCommand
{
get
{
if (_testCommand == null)
{
_testCommand = new RelayCommand(
p => true,
async p =>
{
await TestGql();
});
}
return _testCommand;
}
}
}
}