Exemplo n.º 1
0
 public void Refresh()
 {
     lock (referenceCache)
         referenceCache.Clear();
     try {
         builder.Refresh();
     } catch (Exception ex) {
         LoggingService.LogError("MSBuild refresh failed", ex);
         CheckDisconnected();
     }
 }
Exemplo n.º 2
0
        public async Task Refresh()
        {
            using (await referenceCacheLock.EnterAsync())
                referenceCache.Clear();

            await Task.Run(() => {
                try {
                    BeginOperation();
                    builder.Refresh();
                } catch (Exception ex) {
                    LoggingService.LogError("MSBuild refresh failed", ex);
                    CheckDisconnected();
                } finally {
                    EndOperation();
                }
            });
        }
Exemplo n.º 3
0
 public void Refresh()
 {
     builder.Refresh();
 }
 public void Refresh()
 {
     lock (referenceCache)
         referenceCache.Clear();
     builder.Refresh();
 }