Table of Contents

Class ListView

Namespace
idunno.Bluesky.Graph
Assembly
idunno.Bluesky.dll

Encapsulates a view over a list.

public sealed record ListView : ListViewBasic, IEquatable<View>, IEquatable<ListViewBasic>, IEquatable<ListView>

Inheritance

Implements

Inherited Members

Constructors

ListView(AtUri, Cid, ProfileView, string, ListPurpose, string?, IReadOnlyCollection<Facet>?, Uri?, int?, IReadOnlyCollection<Label>?, ListViewerState?, DateTimeOffset?)

Creates a new instance of idunno.Bluesky.Graph.ListViewBasic

[JsonConstructor]
public ListView(AtUri uri, Cid cid, ProfileView creator, string name, ListPurpose purpose, string? description, IReadOnlyCollection<Facet>? descriptionFacets, Uri? avatar, int? listItemCount, IReadOnlyCollection<Label>? labels, ListViewerState? viewer, DateTimeOffset? indexedAt)

Parameters

uri AtUri

The idunno.AtProto.AtUri of the list.

cid Cid

The content identifier of the list.

creator ProfileView

A idunno.Bluesky.Actor.ProfileView of the list creator.

name string

The name of the list.

purpose ListPurpose

The list's purpose.

description string?

The description of the list.

descriptionFacets IReadOnlyCollection<Facet>?

Any idunno.Bluesky.RichText.Facets applied to the description.

avatar Uri?

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

listItemCount int?

The number of items in the list.

labels IReadOnlyCollection<Label>?

Labels applied to the list

viewer ListViewerState?

A view of the relationship between the view and the current user.

indexedAt DateTimeOffset?

The date and time the list was last indexed at.

ListView(AtUri, Cid, ProfileView, string, ListPurpose, string?, IReadOnlyCollection<Facet>?, Uri?, int?, IReadOnlyCollection<Label>?, ListViewerState?, DateTimeOffset?)

Creates a new instance of idunno.Bluesky.Graph.ListViewBasic

[JsonConstructor]
public ListView(AtUri uri, Cid cid, ProfileView creator, string name, ListPurpose purpose, string? description, IReadOnlyCollection<Facet>? descriptionFacets, Uri? avatar, int? listItemCount, IReadOnlyCollection<Label>? labels, ListViewerState? viewer, DateTimeOffset? indexedAt)

Parameters

uri AtUri

The idunno.AtProto.AtUri of the list.

cid Cid

The content identifier of the list.

creator ProfileView

A idunno.Bluesky.Actor.ProfileView of the list creator.

name string

The name of the list.

purpose ListPurpose

The list's purpose.

description string?

The description of the list.

descriptionFacets IReadOnlyCollection<Facet>?

Any idunno.Bluesky.RichText.Facets applied to the description.

avatar Uri?

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

listItemCount int?

The number of items in the list.

labels IReadOnlyCollection<Label>?

Labels applied to the list

viewer ListViewerState?

A view of the relationship between the view and the current user.

indexedAt DateTimeOffset?

The date and time the list was last indexed at.

ListView(AtUri, Cid, ProfileView, string, ListPurpose, string?, IReadOnlyCollection<Facet>?, Uri?, int?, IReadOnlyCollection<Label>?, ListViewerState?, DateTimeOffset?)

Creates a new instance of idunno.Bluesky.Graph.ListViewBasic

[JsonConstructor]
public ListView(AtUri uri, Cid cid, ProfileView creator, string name, ListPurpose purpose, string? description, IReadOnlyCollection<Facet>? descriptionFacets, Uri? avatar, int? listItemCount, IReadOnlyCollection<Label>? labels, ListViewerState? viewer, DateTimeOffset? indexedAt)

Parameters

uri AtUri

The idunno.AtProto.AtUri of the list.

cid Cid

The content identifier of the list.

creator ProfileView

A idunno.Bluesky.Actor.ProfileView of the list creator.

name string

The name of the list.

purpose ListPurpose

The list's purpose.

description string?

The description of the list.

descriptionFacets IReadOnlyCollection<Facet>?

Any idunno.Bluesky.RichText.Facets applied to the description.

avatar Uri?

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

listItemCount int?

The number of items in the list.

labels IReadOnlyCollection<Label>?

Labels applied to the list

viewer ListViewerState?

A view of the relationship between the view and the current user.

indexedAt DateTimeOffset?

The date and time the list was last indexed at.

Properties

Creator

Gets a idunno.Bluesky.Actor.ProfileView of the list creator.

[JsonRequired]
public ProfileView Creator { get; init; }

Property Value

ProfileView

Creator

Gets a idunno.Bluesky.Actor.ProfileView of the list creator.

[JsonRequired]
public ProfileView Creator { get; init; }

Property Value

ProfileView

Creator

Gets a idunno.Bluesky.Actor.ProfileView of the list creator.

[JsonRequired]
public ProfileView Creator { get; init; }

Property Value

ProfileView

Description

Gets the description of the list.

public string? Description { get; init; }

Property Value

string?

Description

Gets the description of the list.

public string? Description { get; init; }

Property Value

string?

Description

Gets the description of the list.

public string? Description { get; init; }

Property Value

string?

DescriptionFacets

Gets any idunno.Bluesky.RichText.Facets applied to the idunno.Bluesky.Graph.ListView.Description.

public IReadOnlyCollection<Facet>? DescriptionFacets { get; init; }

Property Value

IReadOnlyCollection<Facet>?

DescriptionFacets

Gets any idunno.Bluesky.RichText.Facets applied to the idunno.Bluesky.Graph.ListView.Description.

public IReadOnlyCollection<Facet>? DescriptionFacets { get; init; }

Property Value

IReadOnlyCollection<Facet>?

DescriptionFacets

Gets any idunno.Bluesky.RichText.Facets applied to the idunno.Bluesky.Graph.ListView.Description.

public IReadOnlyCollection<Facet>? DescriptionFacets { get; init; }

Property Value

IReadOnlyCollection<Facet>?

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

Methods

<Clone>$()

public override ListView <Clone>$()

Returns

ListView

<Clone>$()

public override ListView <Clone>$()

Returns

ListView

<Clone>$()

public override ListView <Clone>$()

Returns

ListView

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(ListViewBasic?)

public override sealed bool Equals(ListViewBasic? other)

Parameters

other ListViewBasic?

Returns

bool

Equals(ListView?)

public bool Equals(ListView? other)

Parameters

other ListView?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(ListViewBasic?)

public override sealed bool Equals(ListViewBasic? other)

Parameters

other ListViewBasic?

Returns

bool

Equals(ListView?)

public bool Equals(ListView? other)

Parameters

other ListView?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(ListViewBasic?)

public override sealed bool Equals(ListViewBasic? other)

Parameters

other ListViewBasic?

Returns

bool

Equals(ListView?)

public bool Equals(ListView? other)

Parameters

other ListView?

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()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ListView?, ListView?)

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

Parameters

left ListView?
right ListView?

Returns

bool

operator ==(ListView?, ListView?)

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

Parameters

left ListView?
right ListView?

Returns

bool

operator ==(ListView?, ListView?)

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

Parameters

left ListView?
right ListView?

Returns

bool

operator !=(ListView?, ListView?)

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

Parameters

left ListView?
right ListView?

Returns

bool

operator !=(ListView?, ListView?)

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

Parameters

left ListView?
right ListView?

Returns

bool

operator !=(ListView?, ListView?)

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

Parameters

left ListView?
right ListView?

Returns

bool