Table of Contents

Class ProfileEditResult

Namespace
EchoHub.Client.UI.Dialogs
Assembly
EchoHub.Client.dll

Result returned from the profile edit dialog.

public record ProfileEditResult : IEquatable<ProfileEditResult>
Inheritance
ProfileEditResult
Implements
Inherited Members

Constructors

ProfileEditResult(ProfileEditResult)

protected ProfileEditResult(ProfileEditResult original)

Parameters

original ProfileEditResult

ProfileEditResult(string?, string?, string?, string?, bool?, byte?)

Result returned from the profile edit dialog.

public ProfileEditResult(string? DisplayName, string? Bio, string? NicknameColor, string? AvatarPath, bool? NotificationSoundEnabled, byte? NotificationVolume)

Parameters

DisplayName string
Bio string
NicknameColor string
AvatarPath string
NotificationSoundEnabled bool?
NotificationVolume byte?

Properties

AvatarPath

public string? AvatarPath { get; init; }

Property Value

string

Bio

public string? Bio { get; init; }

Property Value

string

DisplayName

public string? DisplayName { get; init; }

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

NicknameColor

public string? NicknameColor { get; init; }

Property Value

string

NotificationSoundEnabled

public bool? NotificationSoundEnabled { get; init; }

Property Value

bool?

NotificationVolume

public byte? NotificationVolume { get; init; }

Property Value

byte?

Methods

Deconstruct(out string?, out string?, out string?, out string?, out bool?, out byte?)

public void Deconstruct(out string? DisplayName, out string? Bio, out string? NicknameColor, out string? AvatarPath, out bool? NotificationSoundEnabled, out byte? NotificationVolume)

Parameters

DisplayName string
Bio string
NicknameColor string
AvatarPath string
NotificationSoundEnabled bool?
NotificationVolume byte?

Equals(ProfileEditResult?)

public virtual bool Equals(ProfileEditResult? other)

Parameters

other ProfileEditResult

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

Operators

operator ==(ProfileEditResult?, ProfileEditResult?)

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

Parameters

left ProfileEditResult
right ProfileEditResult

Returns

bool

operator !=(ProfileEditResult?, ProfileEditResult?)

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

Parameters

left ProfileEditResult
right ProfileEditResult

Returns

bool