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
uriAtUri-
The idunno.AtProto.AtUri of the list.
cidCid-
The content identifier of the list.
creatorProfileView-
A idunno.Bluesky.Actor.ProfileView of the list creator.
namestring-
The name of the list.
purposeListPurpose-
The list's purpose.
descriptionstring?-
The description of the list.
descriptionFacetsIReadOnlyCollection<Facet>?-
Any idunno.Bluesky.RichText.Facets applied to the
description. avatarUri?-
A System.Uri to the list's avatar, if any.
listItemCountint?-
The number of items in the list.
labelsIReadOnlyCollection<Label>?-
Labels applied to the list
viewerListViewerState?-
A view of the relationship between the view and the current user.
indexedAtDateTimeOffset?-
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
uriAtUri-
The idunno.AtProto.AtUri of the list.
cidCid-
The content identifier of the list.
creatorProfileView-
A idunno.Bluesky.Actor.ProfileView of the list creator.
namestring-
The name of the list.
purposeListPurpose-
The list's purpose.
descriptionstring?-
The description of the list.
descriptionFacetsIReadOnlyCollection<Facet>?-
Any idunno.Bluesky.RichText.Facets applied to the
description. avatarUri?-
A System.Uri to the list's avatar, if any.
listItemCountint?-
The number of items in the list.
labelsIReadOnlyCollection<Label>?-
Labels applied to the list
viewerListViewerState?-
A view of the relationship between the view and the current user.
indexedAtDateTimeOffset?-
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
uriAtUri-
The idunno.AtProto.AtUri of the list.
cidCid-
The content identifier of the list.
creatorProfileView-
A idunno.Bluesky.Actor.ProfileView of the list creator.
namestring-
The name of the list.
purposeListPurpose-
The list's purpose.
descriptionstring?-
The description of the list.
descriptionFacetsIReadOnlyCollection<Facet>?-
Any idunno.Bluesky.RichText.Facets applied to the
description. avatarUri?-
A System.Uri to the list's avatar, if any.
listItemCountint?-
The number of items in the list.
labelsIReadOnlyCollection<Label>?-
Labels applied to the list
viewerListViewerState?-
A view of the relationship between the view and the current user.
indexedAtDateTimeOffset?-
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
Creator
Gets a idunno.Bluesky.Actor.ProfileView of the list creator.
[JsonRequired]
public ProfileView Creator { get; init; }Property Value
Creator
Gets a idunno.Bluesky.Actor.ProfileView of the list creator.
[JsonRequired]
public ProfileView Creator { get; init; }Property Value
Description
Gets the description of the list.
public string? Description { get; init; }Property Value
Description
Gets the description of the list.
public string? Description { get; init; }Property Value
Description
Gets the description of the list.
public string? Description { get; init; }Property Value
DescriptionFacets
Gets any idunno.Bluesky.RichText.Facets applied to the idunno.Bluesky.Graph.ListView.Description.
public IReadOnlyCollection<Facet>? DescriptionFacets { get; init; }Property Value
DescriptionFacets
Gets any idunno.Bluesky.RichText.Facets applied to the idunno.Bluesky.Graph.ListView.Description.
public IReadOnlyCollection<Facet>? DescriptionFacets { get; init; }Property Value
DescriptionFacets
Gets any idunno.Bluesky.RichText.Facets applied to the idunno.Bluesky.Graph.ListView.Description.
public IReadOnlyCollection<Facet>? DescriptionFacets { get; init; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
Methods
<Clone>$()
public override ListView <Clone>$()Returns
<Clone>$()
public override ListView <Clone>$()Returns
<Clone>$()
public override ListView <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ListViewBasic?)
public override sealed bool Equals(ListViewBasic? other)Parameters
otherListViewBasic?
Returns
Equals(ListView?)
public bool Equals(ListView? other)Parameters
otherListView?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ListViewBasic?)
public override sealed bool Equals(ListViewBasic? other)Parameters
otherListViewBasic?
Returns
Equals(ListView?)
public bool Equals(ListView? other)Parameters
otherListView?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ListViewBasic?)
public override sealed bool Equals(ListViewBasic? other)Parameters
otherListViewBasic?
Returns
Equals(ListView?)
public bool Equals(ListView? other)Parameters
otherListView?
Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(ListView?, ListView?)
public static bool operator ==(ListView? left, ListView? right)Parameters
Returns
operator ==(ListView?, ListView?)
public static bool operator ==(ListView? left, ListView? right)Parameters
Returns
operator ==(ListView?, ListView?)
public static bool operator ==(ListView? left, ListView? right)Parameters
Returns
operator !=(ListView?, ListView?)
public static bool operator !=(ListView? left, ListView? right)Parameters
Returns
operator !=(ListView?, ListView?)
public static bool operator !=(ListView? left, ListView? right)Parameters
Returns
operator !=(ListView?, ListView?)
public static bool operator !=(ListView? left, ListView? right)