Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(173)

Unified Diff: Src/GoogleApis/Apis/Services/IClientService.cs

Issue 13412046: Reimplement OAuth2 library - Step 1 (Closed) Base URL: https://google-api-dotnet-client.googlecode.com/hg/
Patch Set: minor Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Src/GoogleApis/Apis/Services/IClientService.cs
===================================================================
--- a/Src/GoogleApis/Apis/Services/IClientService.cs
b/Src/GoogleApis/Apis/Services/IClientService.cs
@@ -28,45 28,45 @@
{
/// <summary>
/// Client service contains all the necessary information a Google service requires.
- /// Each concrete <see cref="Google.Api.Request.IClientServiceRequest"/> has a reference to a service for
/// Each concrete <seealso cref="Google.Apis.Requests.IClientServiceRequest"/> has a reference to a service for
/// important properties like API key, application name, base Uri, etc.
/// This service interface also contains serialization methods to serialize an object to stream and deserialize a
/// stream into an object.
/// </summary>
public interface IClientService : IDisposable
{
- /// <summary> Gets the Http client which is used to create requests. </summary>
/// <summary>Gets the HTTP client which is used to create requests.</summary>
ConfigurableHttpClient HttpClient { get; }
- /// <summary>
- /// Gets an Http client initializer which is able to custom properties on
/// <summary>
/// Gets a HTTP client initializer which is able to custom properties on
/// <see cref="Google.Apis.Http.ConfigurableHttpClient"/> and
/// <see cref="Google.Apis.Http.ConfigurableMessageHandler"/>.
/// </summary>
IConfigurableHttpClientInitializer HttpClientInitializer { get; }
- /// <summary> Gets the service name. </summary>
/// <summary>Gets the service name.</summary>
string Name { get; }
- /// <summary> Gets the BaseUri of the service. All request paths should be relative to this URI. </summary>
/// <summary>Gets the BaseUri of the service. All request paths should be relative to this URI.</summary>
string BaseUri { get; }
- /// <summary> Gets the BasePath of the service. </summary>
/// <summary>Gets the BasePath of the service.</summary>
string BasePath { get; }
- /// <summary> Gets the Authenticator for this service. </summary>
/// <summary>Gets the Authenticator for this service.</summary>
IAuthenticator Authenticator { get; }
- /// <summary> Gets the supported features by this service. </summary>
/// <summary>Gets the supported features by this service.</summary>
IList<string> Features { get; }
- /// <summary> Gets or sets whether this service supports GZip. </summary>
/// <summary>Gets or sets whether this service supports GZip.</summary>
bool GZipEnabled { get; }
- /// <summary> Gets the API-Key (DeveloperKey) which this service uses for all requests. </summary>
/// <summary>Gets the API-Key (DeveloperKey) which this service uses for all requests.</summary>
string ApiKey { get; }
- /// <summary> Gets the application name to be used in the User-Agent header. </summary>
/// <summary>Gets the application name to be used in the User-Agent header.</summary>
string ApplicationName { get; }
/// <summary>
@@ -78,16 78,16 @@
#region Serialization Methods
- /// <summary> Gets the Serializer used by this service. </summary>
/// <summary>Gets the Serializer used by this service.</summary>
ISerializer Serializer { get; }
- /// <summary> Serializes an object into a string representation. </summary>
/// <summary>Serializes an object into a string representation.</summary>
string SerializeObject(object data);
- /// <summary> Deserializes a response into the specified object. </summary>
/// <summary>Deserializes a response into the specified object.</summary>
Task<T> DeserializeResponse<T>(HttpResponseMessage response);
- /// <summary> Deserializes an error response into a <see cref="RequestError"/> object. </summary>
/// <summary>Deserializes an error response into a <see cref="RequestError"/> object.</summary>
/// <exception cref="GoogleApiException">If no error is found in the response.</exception>
Task<RequestError> DeserializeError(HttpResponseMessage response);

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b