Clear() static private method

static private Clear ( ) : void
return void
示例#1
0
 public void Dispose()
 {
     foreach (var w in watchers)
     {
         w.Dispose();
     }
     changeTimer?.Dispose();
     watchTimer?.Dispose();
     store?.Dispose();
     FileStreamCache.Clear();
 }
示例#2
0
 public void Dispose()
 {
     foreach (var w in watchers)
     {
         w.Dispose();
     }
     if (changeTimer != null)
     {
         changeTimer.Dispose();
     }
     if (watchTimer != null)
     {
         watchTimer.Dispose();
     }
     if (_store != null)
     {
         _store.Dispose();
     }
     FileStreamCache.Clear();
 }