summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Messaging/Reporting.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenAuth.Messaging/Reporting.cs')
-rw-r--r--src/DotNetOpenAuth.Messaging/Reporting.cs37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/DotNetOpenAuth.Messaging/Reporting.cs b/src/DotNetOpenAuth.Messaging/Reporting.cs
index 03565b8..65eddfe 100644
--- a/src/DotNetOpenAuth.Messaging/Reporting.cs
+++ b/src/DotNetOpenAuth.Messaging/Reporting.cs
@@ -23,8 +23,6 @@ namespace DotNetOpenAuth {
using DotNetOpenAuth.Configuration;
using DotNetOpenAuth.Messaging;
using DotNetOpenAuth.Messaging.Bindings;
- using DotNetOpenAuth.OAuth;
- using DotNetOpenAuth.OAuth.ChannelElements;
/// <summary>
/// The statistical reporting mechanism used so this library's project authors
@@ -282,41 +280,6 @@ namespace DotNetOpenAuth {
}
/// <summary>
- /// Records the feature and dependency use.
- /// </summary>
- /// <param name="value">The consumer or service provider.</param>
- /// <param name="service">The service.</param>
- /// <param name="tokenManager">The token manager.</param>
- /// <param name="nonceStore">The nonce store.</param>
- internal static void RecordFeatureAndDependencyUse(object value, ServiceProviderDescription service, ITokenManager tokenManager, INonceStore nonceStore) {
- Contract.Requires(value != null);
- Contract.Requires(service != null);
- Contract.Requires(tokenManager != null);
-
- // In release builds, just quietly return.
- if (value == null || service == null || tokenManager == null) {
- return;
- }
-
- if (Enabled && Configuration.IncludeFeatureUsage) {
- StringBuilder builder = new StringBuilder();
- builder.Append(value.GetType().Name);
- builder.Append(" ");
- builder.Append(tokenManager.GetType().Name);
- if (nonceStore != null) {
- builder.Append(" ");
- builder.Append(nonceStore.GetType().Name);
- }
- builder.Append(" ");
- builder.Append(service.Version);
- builder.Append(" ");
- builder.Append(service.UserAuthorizationEndpoint);
- observedFeatures.Add(builder.ToString());
- Touch();
- }
- }
-
- /// <summary>
/// Records statistics collected from incoming requests.
/// </summary>
/// <param name="request">The request.</param>