Table of Contents

Class AuthorityInfo

Namespace
Fluxzy
Assembly
Fluxzy.Core.dll

Information about a remote authority

public class AuthorityInfo
Inheritance
AuthorityInfo
Inherited Members

Constructors

AuthorityInfo(Authority)

public AuthorityInfo(Authority original)

Parameters

original Authority

AuthorityInfo(string, int, bool)

[JsonConstructor]
public AuthorityInfo(string hostName, int port, bool secure)

Parameters

hostName string
port int
secure bool

Properties

HostName

The hostname

public string HostName { get; set; }

Property Value

string

Port

Port number

public int Port { get; set; }

Property Value

int

Secure

true if the request is secure (HTTPS)

public bool Secure { get; set; }

Property Value

bool

Methods

Equals(AuthorityInfo)

protected bool Equals(AuthorityInfo other)

Parameters

other AuthorityInfo

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.