AvalonStudio.Controls.Standard.WelcomeScreen.RecentProjectViewModel.RecentProjectViewModel C# (CSharp) Метод

RecentProjectViewModel() публичный Метод

public RecentProjectViewModel ( string name, string location ) : System
name string
location string
Результат System
        public RecentProjectViewModel(string name, string location)
        {
            this._name = name;
            this._location = location;

            ClickCommand = ReactiveCommand.Create();

            ClickCommand.Subscribe(_ =>
            {
                var shell = IoC.Get<IShell>();

                var path = Path.Combine(location, name + ".asln");

                shell.OpenSolutionAsync(path);
            });
        }
RecentProjectViewModel