@@ -15,6 +15,16 @@ class Repository : IEquatable<Repository>, IRepository
15
15
private UriString cloneUrl ;
16
16
private string name ;
17
17
18
+ public event Action < CacheUpdateEvent > LogChanged ;
19
+ public event Action < CacheUpdateEvent > StatusChanged ;
20
+ public event Action < CacheUpdateEvent > CurrentBranchChanged ;
21
+ public event Action < CacheUpdateEvent > CurrentRemoteChanged ;
22
+ public event Action < CacheUpdateEvent > CurrentBranchAndRemoteChanged ;
23
+ public event Action < CacheUpdateEvent > LocalBranchListChanged ;
24
+ public event Action < CacheUpdateEvent > LocksChanged ;
25
+ public event Action < CacheUpdateEvent > RemoteBranchListChanged ;
26
+ public event Action < CacheUpdateEvent > LocalAndRemoteBranchListChanged ;
27
+
18
28
/// <summary>
19
29
/// Initializes a new instance of the <see cref="Repository"/> class.
20
30
/// </summary>
@@ -578,16 +588,6 @@ public List<GitLogEntry> CurrentLog
578
588
private set { cacheContainer . GitLogCache . Log = value ; }
579
589
}
580
590
581
- public event Action < CacheUpdateEvent > LogChanged ;
582
- public event Action < CacheUpdateEvent > StatusChanged ;
583
- public event Action < CacheUpdateEvent > CurrentBranchChanged ;
584
- public event Action < CacheUpdateEvent > CurrentRemoteChanged ;
585
- public event Action < CacheUpdateEvent > CurrentBranchAndRemoteChanged ;
586
- public event Action < CacheUpdateEvent > LocalBranchListChanged ;
587
- public event Action < CacheUpdateEvent > LocksChanged ;
588
- public event Action < CacheUpdateEvent > RemoteBranchListChanged ;
589
- public event Action < CacheUpdateEvent > LocalAndRemoteBranchListChanged ;
590
-
591
591
public List < GitLock > CurrentLocks
592
592
{
593
593
get { return cacheContainer . GitLocksCache . GitLocks ; }
0 commit comments