Ejemplo n.º 1
0
 /// <summary>
 /// Throws an exception describing the unhandled request for a metric route.
 /// </summary>
 /// <param name="metricInstanceSetRequest">The metric instance set request providing the domain-specific context for the metric.</param>
 /// <param name="metadataNode">The metadata for the metric.</param>
 /// <returns>The URL for the application-specific location for the metric.</returns>
 public IEnumerable<Link> GetRoute(MetricInstanceSetRequestBase metricInstanceSetRequest, MetricMetadataNode metadataNode)
 {
     throw new NotSupportedException(
         string.Format("Metric route generation for request type '{0}' was unhandled.", metricInstanceSetRequest.GetType().Name));
 }
 /// <summary>
 /// Throws an exception describing the unhandled request for a metric route.
 /// </summary>
 /// <param name="metricInstanceSetRequest">The metric instance set request providing the domain-specific context for the metric.</param>
 /// <param name="metadataNode">The metadata for the metric.</param>
 /// <returns>The URL for the application-specific location for the metric.</returns>
 public string GetRoute(MetricInstanceSetRequestBase metricInstanceSetRequest, MetricAction action)
 {
     throw new NotSupportedException(
         string.Format("Metric Action route generation for request type '{0}' was unhandled.", metricInstanceSetRequest.GetType().Name));
 }