Table of Contents

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

Subject StrongReference

Gets the idunno.AtProto.Repo.StrongReference to the bookmarked record.

CreatedAt DateTimeOffset?

The System.DateTimeOffset the bookmark was created, if known.

Item PostViewBase

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

Subject StrongReference

Gets the idunno.AtProto.Repo.StrongReference to the bookmarked record.

CreatedAt DateTimeOffset?

The System.DateTimeOffset the bookmark was created, if known.

Item PostViewBase

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

Subject StrongReference

Gets the idunno.AtProto.Repo.StrongReference to the bookmarked record.

CreatedAt DateTimeOffset?

The System.DateTimeOffset the bookmark was created, if known.

Item PostViewBase

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

DateTimeOffset?

CreatedAt

The System.DateTimeOffset the bookmark was created, if known.

public DateTimeOffset? CreatedAt { get; init; }

Property Value

DateTimeOffset?

CreatedAt

The System.DateTimeOffset the bookmark was created, if known.

public DateTimeOffset? CreatedAt { get; init; }

Property Value

DateTimeOffset?

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

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

PostViewBase

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

PostViewBase

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

PostViewBase

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

BookmarkView

<Clone>$()

public override BookmarkView <Clone>$()

Returns

BookmarkView

<Clone>$()

public override BookmarkView <Clone>$()

Returns

BookmarkView

Deconstruct(out StrongReference, out DateTimeOffset?, out PostViewBase)

public void Deconstruct(out StrongReference Subject, out DateTimeOffset? CreatedAt, out PostViewBase Item)

Parameters

Subject StrongReference
CreatedAt DateTimeOffset?
Item PostViewBase

Deconstruct(out StrongReference, out DateTimeOffset?, out PostViewBase)

public void Deconstruct(out StrongReference Subject, out DateTimeOffset? CreatedAt, out PostViewBase Item)

Parameters

Subject StrongReference
CreatedAt DateTimeOffset?
Item PostViewBase

Deconstruct(out StrongReference, out DateTimeOffset?, out PostViewBase)

public void Deconstruct(out StrongReference Subject, out DateTimeOffset? CreatedAt, out PostViewBase Item)

Parameters

Subject StrongReference
CreatedAt DateTimeOffset?
Item PostViewBase

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(View?)

public override sealed bool Equals(View? other)

Parameters

other View?

Returns

bool

Equals(BookmarkView?)

public bool Equals(BookmarkView? other)

Parameters

other BookmarkView?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(View?)

public override sealed bool Equals(View? other)

Parameters

other View?

Returns

bool

Equals(BookmarkView?)

public bool Equals(BookmarkView? other)

Parameters

other BookmarkView?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(View?)

public override sealed bool Equals(View? other)

Parameters

other View?

Returns

bool

Equals(BookmarkView?)

public bool Equals(BookmarkView? other)

Parameters

other BookmarkView?

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 ==(BookmarkView?, BookmarkView?)

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

Parameters

left BookmarkView?
right BookmarkView?

Returns

bool

operator ==(BookmarkView?, BookmarkView?)

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

Parameters

left BookmarkView?
right BookmarkView?

Returns

bool

operator ==(BookmarkView?, BookmarkView?)

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

Parameters

left BookmarkView?
right BookmarkView?

Returns

bool

operator !=(BookmarkView?, BookmarkView?)

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

Parameters

left BookmarkView?
right BookmarkView?

Returns

bool

operator !=(BookmarkView?, BookmarkView?)

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

Parameters

left BookmarkView?
right BookmarkView?

Returns

bool

operator !=(BookmarkView?, BookmarkView?)

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

Parameters

left BookmarkView?
right BookmarkView?

Returns

bool