diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2011-07-02 19:33:28 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2011-07-02 19:33:28 -0700 |
commit | f2306dd1eb03996d314927c96bbd2a9412c30c8a (patch) | |
tree | 60ca38d087c7980390f4a27906da4038677347ca /src/DotNetOpenAuth.Messaging/Reporting.cs | |
parent | b6f7a18b949acb4346754ae47fb07424076a3cd0 (diff) | |
download | DotNetOpenAuth-f2306dd1eb03996d314927c96bbd2a9412c30c8a.zip DotNetOpenAuth-f2306dd1eb03996d314927c96bbd2a9412c30c8a.tar.gz DotNetOpenAuth-f2306dd1eb03996d314927c96bbd2a9412c30c8a.tar.bz2 |
Messaging project now compiles.
Diffstat (limited to 'src/DotNetOpenAuth.Messaging/Reporting.cs')
-rw-r--r-- | src/DotNetOpenAuth.Messaging/Reporting.cs | 37 |
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> |