BuildMaster SDK Reference
Version:

CreateProviderFromId<TProviderBase>(int providerId, Inedo.BuildMaster.Extensibility.Agents.BuildMasterAgent agent) Method

Creates a provider from its ID.

Syntax

public static TProviderBase CreateProviderFromId<TProviderBase>(int providerId, Inedo.BuildMaster.Extensibility.Agents.BuildMasterAgent agent)

Parameters

providerId
Type: int

The provider ID.

agent
Type: Inedo.BuildMaster.Extensibility.Agents.BuildMasterAgent

The agent which the provider will use.

Returns

Provider created from the specified ID.