InedoSDK Reference
Version:

GitService Class

Provides information about a supported git hosting service, such as GitLab or GitHub.

Inheritance Hierarchy

Syntax

public class GitService : Inedo.Diagnostics.ILogSink

Events

Name Description
MessageLogged

Properties

Name Description
ApiUrlDisplayName

Gets the service-specific name for API Url, such as "Instance URL".

ApiUrlPlaceholderText

Gets the service-specific Placeholder text for the ApiUrl field.

CredentialType

Gets the GitServiceCredentials type that is used by the service.

HasDefaultApiUrl

Indicates whether the service has a well-known public API, such a GitHub.com.

NamespaceDisplayName

Gets the service-specific name for the repository's namespace, such as "Organization".

PasswordDisplayName

Gets the service-specific name for passwords, such as "API Token"

RepositoryDisplayName

Gets the service-specific name for repositories, such as "Project".

RepositoryType

Gets the GitServiceRepository type that is used by the service.

ServiceName

Gets the display name of the service, such as GitHub, GitLab, Azure DevOps, etc.

UsernameDisplayName

Gets the service-specific name for usernames, such as "Username".

Remarks

Implementers should inherit from GitService<TRepository, TCredential>.