Table of Contents

Class Agent

Namespace
Fluxzy
Assembly
Fluxzy.Core.dll

Holds information about the source agent making the request.

[MessagePackObject(false)]
public class Agent
Inheritance
Agent
Inherited Members

Constructors

Agent(int, string)

public Agent(int id, string friendlyName)

Parameters

id int
friendlyName string

Properties

FriendlyName

A friendly name for the agent

[Key(1)]
public string FriendlyName { get; }

Property Value

string

Id

An unique ID relative to the capture session

[Key(0)]
public int Id { get; }

Property Value

int

Methods

Equals(Agent)

protected bool Equals(Agent other)

Parameters

other Agent

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.