AvalonStudio.Shell.Commands.UnCommentCommandDefinition.UnCommentCommandDefinition C# (CSharp) Method

UnCommentCommandDefinition() public method

public UnCommentCommandDefinition ( ) : System
return System
		public UnCommentCommandDefinition()
		{
			_command = ReactiveCommand.Create();

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

                (shell.SelectedDocument as EditorViewModel)?.UnComment();
			});
		}
UnCommentCommandDefinition