Skip to content

SessionQuery

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

A filter for querying the session list.

public sealed record SessionQuery : IEquatable<SessionQuery>

objectSessionQuery

IEquatable<SessionQuery>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public SessionQuery()

Fetches only this agent’s sessions.

public string? AgentName { get; init; }

string?

The number of records to skip.

public int Skip { get; init; }

int

The maximum number of records to fetch.

public int Take { get; init; }

int

Fetches only this tenant’s sessions.

public string? TenantId { get; init; }

string?

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(SessionQuery? other)

other SessionQuery?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(SessionQuery?, SessionQuery?)

Section titled “ operator ==(SessionQuery?, SessionQuery?)”
public static bool operator ==(SessionQuery? left, SessionQuery? right)

left SessionQuery?

right SessionQuery?

bool

operator !=(SessionQuery?, SessionQuery?)

Section titled “ operator !=(SessionQuery?, SessionQuery?)”
public static bool operator !=(SessionQuery? left, SessionQuery? right)

left SessionQuery?

right SessionQuery?

bool