Initial Commit

This commit is contained in:
2025-06-10 19:03:43 -04:00
commit 93ab70180a
62 changed files with 49312 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Windows.Input;
using System.Text;
using PortfolioManager.ViewModels;
namespace PortfolioManager.ViewModels
{
public class CommandViewModel : ViewModelBase
{
public CommandViewModel(string displayName, ICommand command)
{
if (command == null) throw new ArgumentNullException("command");
base.DisplayName = displayName;
this.Command = command;
}
public ICommand Command
{
get; private set;
}
public override SaveParameters GetSaveParameters()
{
return null;
}
public override void SetSaveParameters(SaveParameters saveParameters)
{
}
public override bool CanPersist()
{
return false;
}
}
}