diff --git a/.editorconfig b/.editorconfig index 55aff3e..29e791c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,3 +3,6 @@ # MA0003: Add argument name to improve readability dotnet_diagnostic.MA0003.severity = none csharp_style_prefer_switch_expression=false:suggestion + +# MA0051: Method is too long +dotnet_diagnostic.MA0051.severity = silent diff --git a/Borepin/Borepin/App.xaml.cs b/Borepin/Borepin/App.xaml.cs index 07201ec..204827a 100644 --- a/Borepin/Borepin/App.xaml.cs +++ b/Borepin/Borepin/App.xaml.cs @@ -12,6 +12,7 @@ using Borepin.PageModel.AddServerProcess; using System; using Borepin.Service.Storage; using NLog; +using System.Resources; namespace Borepin { diff --git a/Borepin/Borepin/Model/ConnectionDataVisualize.cs b/Borepin/Borepin/Model/ConnectionDataVisualize.cs index 6692a61..2654090 100644 --- a/Borepin/Borepin/Model/ConnectionDataVisualize.cs +++ b/Borepin/Borepin/Model/ConnectionDataVisualize.cs @@ -19,9 +19,8 @@ namespace Borepin.Model #endregion #region Methods - public async void LoadData() + public void LoadData() { - Host = _ConnectionData.Host.Host; Port = _ConnectionData.Host.Port; Username = _ConnectionData.Username; diff --git a/Borepin/Borepin/Page/AddServerProcess/AuthPlainPage.xaml b/Borepin/Borepin/Page/AddServerProcess/AuthPlainPage.xaml index 9c4b58a..010fd30 100644 --- a/Borepin/Borepin/Page/AddServerProcess/AuthPlainPage.xaml +++ b/Borepin/Borepin/Page/AddServerProcess/AuthPlainPage.xaml @@ -3,6 +3,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Borepin.Page.AddServerProcess.AuthPlainPage" xmlns:converters="clr-namespace:Borepin.Converter" + xmlns:resource_text="clr-namespace:Borepin.Resources.Text" Title="Connect to Server"> @@ -15,13 +16,13 @@ - + - + -