Refactoring MtApi

This commit is contained in:
vdemydiuk
2016-11-26 19:27:09 +02:00
parent 88e2d22abe
commit 9a6968f618
4 changed files with 5 additions and 11 deletions
+2 -8
View File
@@ -100,7 +100,7 @@ namespace MTApiService
return;
}
var coonected = false;
bool coonected;
try
{
@@ -254,13 +254,7 @@ namespace MTApiService
public string Host { get; private set; }
public int Port { get; private set; }
private bool IsConnected
{
get
{
return _proxy.State == CommunicationState.Opened;
}
}
private bool IsConnected => _proxy.State == CommunicationState.Opened;
#endregion