BuildMaster SDK Reference
Version:

SetAgent(Inedo.Extensibility.Agents.Agent agent, bool disposeAgent) Method

Inititializes the Agent property.

Syntax

public void SetAgent(Inedo.Extensibility.Agents.Agent agent, bool disposeAgent)

Parameters

agent
Type: Inedo.Extensibility.Agents.Agent

Value to write to the property.

disposeAgent
Type: bool

Value indicating whether the agent should be disposed when the provider is disposed.