27 lines
645 B
C#
27 lines
645 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,
|
|
p =>
|
|
{
|
|
logger.Info("test command clicked");
|
|
});
|
|
}
|
|
return _testCommand;
|
|
}
|
|
}
|
|
}
|
|
}
|