Files
bodyshop-uploader/BodyshopUploader/ViewModels/LoginViewModel.commands.cs

25 lines
554 B
C#

using System;
using System.Windows.Input;
namespace BodyshopUploader.ViewModels
{
public partial class LoginViewModel : BaseViewModel
{
private ICommand _testCommand;
public ICommand TestCommand
{
get
{
if (_testCommand == null)
{
_testCommand = new RelayCommand(
p => true,
p => Console.WriteLine("Hi"));
}
return _testCommand;
}
}
}
}