private void VirtualResourceEventBus_OnBringOnline(object sender, VirtualResourceEventBusAssetArgs e) { TraceFactory.Logger.Debug("Received request to bring {0} online".FormatWith(e.AssetId)); GlobalDataStore.Manifest.Assets.SetAvailable(e.AssetId, true); }
private void VirtualResourceEventBus_OnTakeOffline(object sender, VirtualResourceEventBusAssetArgs e) { TraceFactory.Logger.Debug("Received request to take {0} offline.".FormatWith(e.AssetId)); GlobalDataStore.Manifest.Assets.SetAvailable(e.AssetId, false); }