@@ -52,7 +52,8 @@ protected GitHubConnectContent View
5252 bool LoggedIn
5353 {
5454 get { return loggedIn ; }
55- set {
55+ set
56+ {
5657 loggedIn = ShowLogout = value ;
5758 ShowLogin = ! value ;
5859 }
@@ -308,20 +309,20 @@ void HandleCreatedRepo(ILocalRepositoryModel newrepo)
308309 {
309310 Guard . ArgumentNotNull ( newrepo , nameof ( newrepo ) ) ;
310311
311- var msg = String . Format ( CultureInfo . CurrentCulture , Constants . Notification_RepoCreated , newrepo . Name , newrepo . CloneUrl ) ;
312- msg += " " + String . Format ( CultureInfo . CurrentCulture , Constants . Notification_CreateNewProject , newrepo . LocalPath ) ;
312+ var msg = string . Format ( CultureInfo . CurrentCulture , Constants . Notification_RepoCreated , newrepo . Name , newrepo . CloneUrl ) ;
313+ msg += " " + string . Format ( CultureInfo . CurrentCulture , Constants . Notification_CreateNewProject , newrepo . LocalPath ) ;
313314 ShowNotification ( newrepo , msg ) ;
314315 }
315316
316317 void HandleClonedRepo ( ILocalRepositoryModel newrepo )
317318 {
318319 Guard . ArgumentNotNull ( newrepo , nameof ( newrepo ) ) ;
319320
320- var msg = String . Format ( CultureInfo . CurrentCulture , Constants . Notification_RepoCloned , newrepo . Name , newrepo . CloneUrl ) ;
321+ var msg = string . Format ( CultureInfo . CurrentCulture , Constants . Notification_RepoCloned , newrepo . Name , newrepo . CloneUrl ) ;
321322 if ( newrepo . HasCommits ( ) && newrepo . MightContainSolution ( ) )
322- msg += " " + String . Format ( CultureInfo . CurrentCulture , Constants . Notification_OpenProject , newrepo . LocalPath ) ;
323+ msg += " " + string . Format ( CultureInfo . CurrentCulture , Constants . Notification_OpenProject , newrepo . LocalPath ) ;
323324 else
324- msg += " " + String . Format ( CultureInfo . CurrentCulture , Constants . Notification_CreateNewProject , newrepo . LocalPath ) ;
325+ msg += " " + string . Format ( CultureInfo . CurrentCulture , Constants . Notification_CreateNewProject , newrepo . LocalPath ) ;
325326 ShowNotification ( newrepo , msg ) ;
326327 }
327328
@@ -330,7 +331,7 @@ void ShowNotification(ILocalRepositoryModel newrepo, string msg)
330331 Guard . ArgumentNotNull ( newrepo , nameof ( newrepo ) ) ;
331332
332333 var teServices = ServiceProvider . TryGetService < ITeamExplorerServices > ( ) ;
333-
334+
334335 teServices . ClearNotifications ( ) ;
335336 teServices . ShowMessage (
336337 msg ,
0 commit comments