ChocoPM.Services.LocalChocolateyService.WriteError C# (CSharp) Method

WriteError() private method

Helper function to write error messages to the faux PowerShell console.
private WriteError ( string message ) : void
message string Message to be written.
return void
        private void WriteError(string message)
        {
            _mainWindowVm.OutputBuffer.Add(new PowerShellOutputLine { Text = message, Type = PowerShellLineType.Error });
        }