InedoSDK Reference
Version:

Agent Class

The base class for all agents.

Inheritance Hierarchy

  • object
    • Inedo.Extensibility.Agents.Agent

Syntax

public class Agent : System.IDisposable, System.IAsyncDisposable

Constructors

Name Description
Agent

Initializes a new instance of the Agent class.

Events

Name Description
ServiceRequested

Occurs when a service is successfully requested.

Methods

Name Description
Dispose(bool disposing)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

DisposeAsync

Releases resources used by this instance.

GetAgentServiceInternal(System.Type service)
GetAgentServiceInternalAsync(System.Type service)
GetDescription

Returns a human-friendly description of the agent's configuration.

GetService<TService>
GetServiceAsync<TService>
OnServiceRequested(ServiceRequestedEventArgs e)
TryGetService<TService>
TryGetServiceAsync<TService>