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
Properties
FriendlyName
A friendly name for the agent
[Key(1)]
public string FriendlyName { get; }
Property Value
Id
An unique ID relative to the capture session
[Key(0)]
public int Id { get; }
Property Value
Methods
Equals(Agent)
protected bool Equals(Agent other)
Parameters
other
Agent
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
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.