Table of Contents

Class UserInfo

Namespace
EasyNetQ.Management.Client.Model
Assembly
EasyNetQ.Management.Client.dll
public record UserInfo : IEquatable<UserInfo>
Inheritance
UserInfo
Implements
Inherited Members

Constructors

UserInfo(UserInfo)

protected UserInfo(UserInfo original)

Parameters

original UserInfo

UserInfo(string?, string?, IReadOnlyList<string>)

public UserInfo(string? Password, string? PasswordHash, IReadOnlyList<string> Tags)

Parameters

Password string
PasswordHash string
Tags IReadOnlyList<string>

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Password

public string? Password { get; init; }

Property Value

string

PasswordHash

public string? PasswordHash { get; init; }

Property Value

string

Tags

public IReadOnlyList<string> Tags { get; init; }

Property Value

IReadOnlyList<string>

Methods

AddTag(string)

public UserInfo AddTag(string tag)

Parameters

tag string

Returns

UserInfo

ByPassword(string)

public static UserInfo ByPassword(string password)

Parameters

password string

Returns

UserInfo

ByPasswordHash(string)

public static UserInfo ByPasswordHash(string passwordHash)

Parameters

passwordHash string

Returns

UserInfo

Deconstruct(out string?, out string?, out IReadOnlyList<string>)

public void Deconstruct(out string? Password, out string? PasswordHash, out IReadOnlyList<string> Tags)

Parameters

Password string
PasswordHash string
Tags IReadOnlyList<string>

Equals(UserInfo?)

public virtual bool Equals(UserInfo? other)

Parameters

other UserInfo

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

<Clone>$()

public virtual UserInfo <Clone>$()

Returns

UserInfo

Operators

operator ==(UserInfo?, UserInfo?)

public static bool operator ==(UserInfo? left, UserInfo? right)

Parameters

left UserInfo
right UserInfo

Returns

bool

operator !=(UserInfo?, UserInfo?)

public static bool operator !=(UserInfo? left, UserInfo? right)

Parameters

left UserInfo
right UserInfo

Returns

bool