AvalonStudio.Controls.Standard.AboutScreen.Commands.AboutScreenCommandDefinition.AboutScreenCommandDefinition C# (CSharp) Method

AboutScreenCommandDefinition() public method

public AboutScreenCommandDefinition ( ) : System
return System
		public AboutScreenCommandDefinition()
		{
			command = ReactiveCommand.Create();
			command.Subscribe(_ =>
			{
				var shell = IoC.Get<IShell>();
				shell.ModalDialog = new AboutDialogViewModel();
				shell.ModalDialog.ShowDialog();
			});
		}
AboutScreenCommandDefinition