Table of Contents

Class ProfileView

Namespace
idunno.Bluesky.Actor
Assembly
idunno.Bluesky.dll

Encapsulates a view over a user profile.

public record ProfileView : ProfileViewBasic, IEquatable<View>, IEquatable<ProfileViewBasic>, IEquatable<ProfileView>

Inheritance

Derived

Implements

Inherited Members

Constructors

ProfileView(Did, Handle, string?, string?, string?, Uri?, Uri?, ProfileAssociated?, ViewerState?, IReadOnlyCollection<Label>?, DateTimeOffset?, DateTimeOffset?, VerificationState?, StatusView?)

Creates a new instance of idunno.Bluesky.Actor.ProfileView

[JsonConstructor]
public ProfileView(Did did, Handle handle, string? displayName, string? description, string? pronouns, Uri? website, Uri? avatar, ProfileAssociated? associated, ViewerState? viewer, IReadOnlyCollection<Label>? labels, DateTimeOffset? indexedAt, DateTimeOffset? createdAt, VerificationState? verification, StatusView? status = null)

Parameters

did Did

The idunno.AtProto.Did of the actor.

handle Handle

The idunno.AtProto.Handle of the actor.

displayName string?

The display name for the actor.

description string?

The description for the actor.

pronouns string?

The actor's pronouns, if any.

website Uri?

The actor's website, if any.

avatar Uri?

A System.Uri to the actor's avatar, if any.

associated ProfileAssociated?

Properties associated with the actor.

viewer ViewerState?

Metadata about the current user's relationship to the actor.

labels IReadOnlyCollection<Label>?

Labels applied to the actor.

indexedAt DateTimeOffset?

The date and time the actor was last indexed.

createdAt DateTimeOffset?

The date and time the actor was created.

verification VerificationState?

The idunno.Bluesky.Actor.VerificationState of the actor, if any.

status StatusView?

The idunno.Bluesky.Actor.StatusView of the actor, if any.

Exceptions

ArgumentNullException

Thrown when did or handle are null.

ProfileView(ProfileView)

protected ProfileView(ProfileView original)

Parameters

original ProfileView

ProfileView(Did, Handle, string?, string?, string?, Uri?, Uri?, ProfileAssociated?, ViewerState?, IReadOnlyCollection<Label>?, DateTimeOffset?, DateTimeOffset?, VerificationState?, StatusView?)

Creates a new instance of idunno.Bluesky.Actor.ProfileView

[JsonConstructor]
public ProfileView(Did did, Handle handle, string? displayName, string? description, string? pronouns, Uri? website, Uri? avatar, ProfileAssociated? associated, ViewerState? viewer, IReadOnlyCollection<Label>? labels, DateTimeOffset? indexedAt, DateTimeOffset? createdAt, VerificationState? verification, StatusView? status = null)

Parameters

did Did

The idunno.AtProto.Did of the actor.

handle Handle

The idunno.AtProto.Handle of the actor.

displayName string?

The display name for the actor.

description string?

The description for the actor.

pronouns string?

The actor's pronouns, if any.

website Uri?

The actor's website, if any.

avatar Uri?

A System.Uri to the actor's avatar, if any.

associated ProfileAssociated?

Properties associated with the actor.

viewer ViewerState?

Metadata about the current user's relationship to the actor.

labels IReadOnlyCollection<Label>?

Labels applied to the actor.

indexedAt DateTimeOffset?

The date and time the actor was last indexed.

createdAt DateTimeOffset?

The date and time the actor was created.

verification VerificationState?

The idunno.Bluesky.Actor.VerificationState of the actor, if any.

status StatusView?

The idunno.Bluesky.Actor.StatusView of the actor, if any.

Exceptions

ArgumentNullException

Thrown when did or handle are null.

ProfileView(ProfileView)

protected ProfileView(ProfileView original)

Parameters

original ProfileView

ProfileView(Did, Handle, string?, string?, string?, Uri?, Uri?, ProfileAssociated?, ViewerState?, IReadOnlyCollection<Label>?, DateTimeOffset?, DateTimeOffset?, VerificationState?, StatusView?)

Creates a new instance of idunno.Bluesky.Actor.ProfileView

[JsonConstructor]
public ProfileView(Did did, Handle handle, string? displayName, string? description, string? pronouns, Uri? website, Uri? avatar, ProfileAssociated? associated, ViewerState? viewer, IReadOnlyCollection<Label>? labels, DateTimeOffset? indexedAt, DateTimeOffset? createdAt, VerificationState? verification, StatusView? status = null)

Parameters

did Did

The idunno.AtProto.Did of the actor.

handle Handle

The idunno.AtProto.Handle of the actor.

displayName string?

The display name for the actor.

description string?

The description for the actor.

pronouns string?

The actor's pronouns, if any.

website Uri?

The actor's website, if any.

avatar Uri?

A System.Uri to the actor's avatar, if any.

associated ProfileAssociated?

Properties associated with the actor.

viewer ViewerState?

Metadata about the current user's relationship to the actor.

labels IReadOnlyCollection<Label>?

Labels applied to the actor.

indexedAt DateTimeOffset?

The date and time the actor was last indexed.

createdAt DateTimeOffset?

The date and time the actor was created.

verification VerificationState?

The idunno.Bluesky.Actor.VerificationState of the actor, if any.

status StatusView?

The idunno.Bluesky.Actor.StatusView of the actor, if any.

Exceptions

ArgumentNullException

Thrown when did or handle are null.

ProfileView(ProfileView)

protected ProfileView(ProfileView original)

Parameters

original ProfileView

Properties

Description

Gets the actor's profile description

public string? Description { get; init; }

Property Value

string?

Description

Gets the actor's profile description

public string? Description { get; init; }

Property Value

string?

Description

Gets the actor's profile description

public string? Description { get; init; }

Property Value

string?

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

IndexedAt

Gets the date and time the actor was last indexed.

public DateTimeOffset? IndexedAt { get; init; }

Property Value

DateTimeOffset?

IndexedAt

Gets the date and time the actor was last indexed.

public DateTimeOffset? IndexedAt { get; init; }

Property Value

DateTimeOffset?

IndexedAt

Gets the date and time the actor was last indexed.

public DateTimeOffset? IndexedAt { get; init; }

Property Value

DateTimeOffset?

Methods

<Clone>$()

public override ProfileView <Clone>$()

Returns

ProfileView

<Clone>$()

public override ProfileView <Clone>$()

Returns

ProfileView

<Clone>$()

public override ProfileView <Clone>$()

Returns

ProfileView

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(ProfileViewBasic?)

public override sealed bool Equals(ProfileViewBasic? other)

Parameters

other ProfileViewBasic?

Returns

bool

Equals(ProfileView?)

public virtual bool Equals(ProfileView? other)

Parameters

other ProfileView?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(ProfileViewBasic?)

public override sealed bool Equals(ProfileViewBasic? other)

Parameters

other ProfileViewBasic?

Returns

bool

Equals(ProfileView?)

public virtual bool Equals(ProfileView? other)

Parameters

other ProfileView?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(ProfileViewBasic?)

public override sealed bool Equals(ProfileViewBasic? other)

Parameters

other ProfileViewBasic?

Returns

bool

Equals(ProfileView?)

public virtual bool Equals(ProfileView? other)

Parameters

other ProfileView?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

Gets a string representation of the idunno.Bluesky.Actor.ProfileView. This returns the actor's display name, if any, otherwise returns the actor's handle.

public override string ToString()

Returns

string

A string representation of the idunno.Bluesky.Actor.ProfileView.

ToString()

Gets a string representation of the idunno.Bluesky.Actor.ProfileView. This returns the actor's display name, if any, otherwise returns the actor's handle.

public override string ToString()

Returns

string

A string representation of the idunno.Bluesky.Actor.ProfileView.

ToString()

Gets a string representation of the idunno.Bluesky.Actor.ProfileView. This returns the actor's display name, if any, otherwise returns the actor's handle.

public override string ToString()

Returns

string

A string representation of the idunno.Bluesky.Actor.ProfileView.

Operators

operator ==(ProfileView?, ProfileView?)

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

Parameters

left ProfileView?
right ProfileView?

Returns

bool

operator ==(ProfileView?, ProfileView?)

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

Parameters

left ProfileView?
right ProfileView?

Returns

bool

operator ==(ProfileView?, ProfileView?)

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

Parameters

left ProfileView?
right ProfileView?

Returns

bool

operator !=(ProfileView?, ProfileView?)

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

Parameters

left ProfileView?
right ProfileView?

Returns

bool

operator !=(ProfileView?, ProfileView?)

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

Parameters

left ProfileView?
right ProfileView?

Returns

bool

operator !=(ProfileView?, ProfileView?)

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

Parameters

left ProfileView?
right ProfileView?

Returns

bool