C# Class Google.Api.Gax.Rest.UserAgentHelper

Common code used for building user agents in REST libraries.
Exibir arquivo Open project: googleapis/gax-dotnet

Public Methods

Method Description
GetDefaultUserAgent ( Type type ) : string

Formats a user agent suitable for REST client libraries.

Private Methods

Method Description
FormatAssemblyVersion ( System type ) : string

Method Details

GetDefaultUserAgent() public static method

Formats a user agent suitable for REST client libraries.
public static GetDefaultUserAgent ( Type type ) : string
type System.Type The type to extract the version number from.
return string