public AggregatedOperationStatistics TakeStatisticsSnapshot(AggregatedOperationType type) { switch (type) { case AggregatedOperationType.ADCalls: return(this.TakeADStatisticsSnapshot()); case AggregatedOperationType.StoreRPCs: return(this.TakeStoreRpcStatisticsSnapshot()); case AggregatedOperationType.ADObjToExchObjLatency: return(this.TakeADObjToExchObjStatisticsSnapshot()); default: throw new NotSupportedException("Unknown type: " + type); } }
public AggregatedOperationStatistics TakeStatisticsSnapshot(AggregatedOperationType type) { return(this.activityScopeImpl.TakeStatisticsSnapshot(type)); }