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

Common code used for building user agents in REST libraries.
Afficher le fichier Open project: googleapis/gax-dotnet

Méthodes publiques

Méthode Description
GetDefaultUserAgent ( Type type ) : string

Formats a user agent suitable for REST client libraries.

Private Methods

Méthode Description
FormatAssemblyVersion ( System type ) : string

Method Details

GetDefaultUserAgent() public static méthode

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.
Résultat string