Table of Contents

Class View

Namespace
idunno.Bluesky.Embed.Gallery
Assembly
idunno.Bluesky.dll

Represents a view over an embedded gallery in a post.

public record View : EmbeddedView, IEquatable<View>, IEquatable<View>, IEquatable<EmbeddedView>, IEquatable<View>

Inheritance

Implements

Inherited Members

Constructors

Creates a new instance of idunno.Bluesky.Embed.Gallery.View.

public View(ICollection<ViewImage> items)

Parameters

items ICollection<ViewImage>

The collection of idunno.Bluesky.Embed.Gallery.ViewImage items to include in the gallery view.

Exceptions

ArgumentNullException

Thrown when the items collection is null.

protected View(View original)

Parameters

original View

Creates a new instance of idunno.Bluesky.Embed.Gallery.View.

public View(ICollection<ViewImage> items)

Parameters

items ICollection<ViewImage>

The collection of idunno.Bluesky.Embed.Gallery.ViewImage items to include in the gallery view.

Exceptions

ArgumentNullException

Thrown when the items collection is null.

protected View(View original)

Parameters

original View

Creates a new instance of idunno.Bluesky.Embed.Gallery.View.

public View(ICollection<ViewImage> items)

Parameters

items ICollection<ViewImage>

The collection of idunno.Bluesky.Embed.Gallery.ViewImage items to include in the gallery view.

Exceptions

ArgumentNullException

Thrown when the items collection is null.

protected View(View original)

Parameters

original View

Properties

protected override Type EqualityContract { get; }

Property Value

Type
protected override Type EqualityContract { get; }

Property Value

Type
protected override Type EqualityContract { get; }

Property Value

Type

Gets the collection of idunno.Bluesky.Embed.Gallery.ViewImage items included in the gallery view.

[JsonInclude]
[JsonRequired]
public ICollection<ViewImage> Items { get; init; }

Property Value

ICollection<ViewImage>

Gets the collection of idunno.Bluesky.Embed.Gallery.ViewImage items included in the gallery view.

[JsonInclude]
[JsonRequired]
public ICollection<ViewImage> Items { get; init; }

Property Value

ICollection<ViewImage>

Gets the collection of idunno.Bluesky.Embed.Gallery.ViewImage items included in the gallery view.

[JsonInclude]
[JsonRequired]
public ICollection<ViewImage> Items { get; init; }

Property Value

ICollection<ViewImage>

Methods

public override View <Clone>$()

Returns

View
public override View <Clone>$()

Returns

View
public override View <Clone>$()

Returns

View
public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool
public override sealed bool Equals(EmbeddedView? other)

Parameters

other EmbeddedView?

Returns

bool
public virtual bool Equals(View? other)

Parameters

other View?

Returns

bool
public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool
public override sealed bool Equals(EmbeddedView? other)

Parameters

other EmbeddedView?

Returns

bool
public virtual bool Equals(View? other)

Parameters

other View?

Returns

bool
public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool
public override sealed bool Equals(EmbeddedView? other)

Parameters

other EmbeddedView?

Returns

bool
public virtual bool Equals(View? other)

Parameters

other View?

Returns

bool
public override int GetHashCode()

Returns

int
public override int GetHashCode()

Returns

int
public override int GetHashCode()

Returns

int
protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool
protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool
protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool
public override string ToString()

Returns

string
public override string ToString()

Returns

string
public override string ToString()

Returns

string

Operators

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

Parameters

left View?
right View?

Returns

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

Parameters

left View?
right View?

Returns

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

Parameters

left View?
right View?

Returns

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

Parameters

left View?
right View?

Returns

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

Parameters

left View?
right View?

Returns

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

Parameters

left View?
right View?

Returns

bool