You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
@ -80,7 +80,7 @@
|
||||
}
|
||||
set {
|
||||
// The parser will throw for invalid routes. We don't have to worry
|
||||
// about _parsedRoute getting out of [....] with _url since the latter
|
||||
// about _parsedRoute getting out of sync with _url since the latter
|
||||
// won't get set unless we can parse the route.
|
||||
_parsedRoute = RouteParser.Parse(value);
|
||||
|
||||
|
@ -81,6 +81,12 @@
|
||||
if (!String.IsNullOrEmpty(name)) {
|
||||
_namedMap[name] = item;
|
||||
}
|
||||
|
||||
// RouteBase doesn't have handler info, so we only log Route.RouteHandler
|
||||
var route = item as Route;
|
||||
if (route != null && route.RouteHandler != null) {
|
||||
TelemetryLogger.LogHttpHandler(route.RouteHandler.GetType());
|
||||
}
|
||||
}
|
||||
|
||||
[SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings",
|
||||
|
Reference in New Issue
Block a user