meilleur choix de code

main
Paul Schneider 9 years ago
parent f8c77bd6b1
commit 990e7a8a23
1 changed files with 3 additions and 4 deletions

@ -29,8 +29,7 @@ namespace BookAStar
public static string AppName { get; set; } public static string AppName { get; set; }
// Exists in order to dispose of a static instance strongly typed, [Obsolete("Instead using this, use new static properties.")]
// It Makes smaller code.
public static App CurrentApp { get { return Current as App; } } public static App CurrentApp { get { return Current as App; } }
public static bool MasterPresented public static bool MasterPresented
@ -253,8 +252,8 @@ namespace BookAStar
} }
} }
} }
private HubConnection chatHubConnection = null; private static HubConnection chatHubConnection = null;
public HubConnection ChatHubConnection public static HubConnection ChatHubConnection
{ {
get get
{ {

Loading…