public void Shutdown(sones.Library.Commons.Security.SecurityToken mySecurityToken) { _iGraphDB.Shutdown(mySecurityToken); foreach (var aDrainPipe in _DrainPipes) { aDrainPipe.Value.Shutdown(mySecurityToken); } foreach (var aUsageDataCollector in _usagedatacollectors) { aUsageDataCollector.Value.Shutdown(); } foreach (var aService in _graphDSServices) { aService.Value.Stop(); } }