Class BookmarkView
- Namespace
- idunno.Bluesky.Bookmarks
- Assembly
- idunno.Bluesky.dll
Encapsulates data about a bookmark.
public sealed record BookmarkView : View, IEquatable<View>, IEquatable<BookmarkView>Inheritance
Implements
Inherited Members
Constructors
BookmarkView(StrongReference, DateTimeOffset?, PostViewBase)
Encapsulates data about a bookmark.
public BookmarkView(StrongReference Subject, DateTimeOffset? CreatedAt, PostViewBase Item)Parameters
SubjectStrongReference-
Gets the idunno.AtProto.Repo.StrongReference to the bookmarked record.
CreatedAtDateTimeOffset?-
The System.DateTimeOffset the bookmark was created, if known.
ItemPostViewBase-
The item bookmarked. May be of type idunno.Bluesky.Feed.PostView, idunno.Bluesky.Feed.BlockedPost or idunno.Bluesky.Feed.NotFoundPost.
BookmarkView(StrongReference, DateTimeOffset?, PostViewBase)
Encapsulates data about a bookmark.
public BookmarkView(StrongReference Subject, DateTimeOffset? CreatedAt, PostViewBase Item)Parameters
SubjectStrongReference-
Gets the idunno.AtProto.Repo.StrongReference to the bookmarked record.
CreatedAtDateTimeOffset?-
The System.DateTimeOffset the bookmark was created, if known.
ItemPostViewBase-
The item bookmarked. May be of type idunno.Bluesky.Feed.PostView, idunno.Bluesky.Feed.BlockedPost or idunno.Bluesky.Feed.NotFoundPost.
BookmarkView(StrongReference, DateTimeOffset?, PostViewBase)
Encapsulates data about a bookmark.
public BookmarkView(StrongReference Subject, DateTimeOffset? CreatedAt, PostViewBase Item)Parameters
SubjectStrongReference-
Gets the idunno.AtProto.Repo.StrongReference to the bookmarked record.
CreatedAtDateTimeOffset?-
The System.DateTimeOffset the bookmark was created, if known.
ItemPostViewBase-
The item bookmarked. May be of type idunno.Bluesky.Feed.PostView, idunno.Bluesky.Feed.BlockedPost or idunno.Bluesky.Feed.NotFoundPost.
Properties
CreatedAt
The System.DateTimeOffset the bookmark was created, if known.
public DateTimeOffset? CreatedAt { get; init; }Property Value
CreatedAt
The System.DateTimeOffset the bookmark was created, if known.
public DateTimeOffset? CreatedAt { get; init; }Property Value
CreatedAt
The System.DateTimeOffset the bookmark was created, if known.
public DateTimeOffset? CreatedAt { 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
Item
The item bookmarked. May be of type idunno.Bluesky.Feed.PostView, idunno.Bluesky.Feed.BlockedPost or idunno.Bluesky.Feed.NotFoundPost.
public PostViewBase Item { get; init; }Property Value
Item
The item bookmarked. May be of type idunno.Bluesky.Feed.PostView, idunno.Bluesky.Feed.BlockedPost or idunno.Bluesky.Feed.NotFoundPost.
public PostViewBase Item { get; init; }Property Value
Item
The item bookmarked. May be of type idunno.Bluesky.Feed.PostView, idunno.Bluesky.Feed.BlockedPost or idunno.Bluesky.Feed.NotFoundPost.
public PostViewBase Item { get; init; }Property Value
Subject
Gets the idunno.AtProto.Repo.StrongReference to the bookmarked record.
public StrongReference Subject { get; init; }Property Value
- StrongReference
Subject
Gets the idunno.AtProto.Repo.StrongReference to the bookmarked record.
public StrongReference Subject { get; init; }Property Value
- StrongReference
Subject
Gets the idunno.AtProto.Repo.StrongReference to the bookmarked record.
public StrongReference Subject { get; init; }Property Value
- StrongReference
Methods
<Clone>$()
public override BookmarkView <Clone>$()Returns
<Clone>$()
public override BookmarkView <Clone>$()Returns
<Clone>$()
public override BookmarkView <Clone>$()Returns
Deconstruct(out StrongReference, out DateTimeOffset?, out PostViewBase)
public void Deconstruct(out StrongReference Subject, out DateTimeOffset? CreatedAt, out PostViewBase Item)Parameters
SubjectStrongReferenceCreatedAtDateTimeOffset?ItemPostViewBase
Deconstruct(out StrongReference, out DateTimeOffset?, out PostViewBase)
public void Deconstruct(out StrongReference Subject, out DateTimeOffset? CreatedAt, out PostViewBase Item)Parameters
SubjectStrongReferenceCreatedAtDateTimeOffset?ItemPostViewBase
Deconstruct(out StrongReference, out DateTimeOffset?, out PostViewBase)
public void Deconstruct(out StrongReference Subject, out DateTimeOffset? CreatedAt, out PostViewBase Item)Parameters
SubjectStrongReferenceCreatedAtDateTimeOffset?ItemPostViewBase
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(View?)
public override sealed bool Equals(View? other)Parameters
otherView?
Returns
Equals(BookmarkView?)
public bool Equals(BookmarkView? other)Parameters
otherBookmarkView?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(View?)
public override sealed bool Equals(View? other)Parameters
otherView?
Returns
Equals(BookmarkView?)
public bool Equals(BookmarkView? other)Parameters
otherBookmarkView?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(View?)
public override sealed bool Equals(View? other)Parameters
otherView?
Returns
Equals(BookmarkView?)
public bool Equals(BookmarkView? other)Parameters
otherBookmarkView?
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 ==(BookmarkView?, BookmarkView?)
public static bool operator ==(BookmarkView? left, BookmarkView? right)Parameters
leftBookmarkView?rightBookmarkView?
Returns
operator ==(BookmarkView?, BookmarkView?)
public static bool operator ==(BookmarkView? left, BookmarkView? right)Parameters
leftBookmarkView?rightBookmarkView?
Returns
operator ==(BookmarkView?, BookmarkView?)
public static bool operator ==(BookmarkView? left, BookmarkView? right)Parameters
leftBookmarkView?rightBookmarkView?
Returns
operator !=(BookmarkView?, BookmarkView?)
public static bool operator !=(BookmarkView? left, BookmarkView? right)Parameters
leftBookmarkView?rightBookmarkView?
Returns
operator !=(BookmarkView?, BookmarkView?)
public static bool operator !=(BookmarkView? left, BookmarkView? right)Parameters
leftBookmarkView?rightBookmarkView?
Returns
operator !=(BookmarkView?, BookmarkView?)
public static bool operator !=(BookmarkView? left, BookmarkView? right)Parameters
leftBookmarkView?rightBookmarkView?