public void Dispose() { if (null != RotItems) { RotItems.Dispose(); } }
private void Refresh() { try { lock (_lock) { IsCurrentlyRefresh = true; if (null != RotItems) { RotItems.Dispose(); } RotItems = RunningObjectTable.GetActiveProxyInformation("", ""); } } catch (Exception) { throw; } finally { IsCurrentlyRefresh = false; } }