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
View(ICollection<ViewImage>)
Creates a new instance of idunno.Bluesky.Embed.Gallery.View.
public View(ICollection<ViewImage> items)Parameters
itemsICollection<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.
View(View)
protected View(View original)Parameters
originalView
View(ICollection<ViewImage>)
Creates a new instance of idunno.Bluesky.Embed.Gallery.View.
public View(ICollection<ViewImage> items)Parameters
itemsICollection<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.
View(View)
protected View(View original)Parameters
originalView
View(ICollection<ViewImage>)
Creates a new instance of idunno.Bluesky.Embed.Gallery.View.
public View(ICollection<ViewImage> items)Parameters
itemsICollection<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.
View(View)
protected View(View original)Parameters
originalView
Properties
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
Items
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
Items
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
Items
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
Methods
<Clone>$()
public override View <Clone>$()Returns
<Clone>$()
public override View <Clone>$()Returns
<Clone>$()
public override View <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(EmbeddedView?)
public override sealed bool Equals(EmbeddedView? other)Parameters
otherEmbeddedView?
Returns
Equals(View?)
public virtual bool Equals(View? other)Parameters
otherView?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(EmbeddedView?)
public override sealed bool Equals(EmbeddedView? other)Parameters
otherEmbeddedView?
Returns
Equals(View?)
public virtual bool Equals(View? other)Parameters
otherView?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(EmbeddedView?)
public override sealed bool Equals(EmbeddedView? other)Parameters
otherEmbeddedView?
Returns
Equals(View?)
public virtual bool Equals(View? other)Parameters
otherView?
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 ==(View?, View?)
public static bool operator ==(View? left, View? right)Parameters
Returns
operator ==(View?, View?)
public static bool operator ==(View? left, View? right)Parameters
Returns
operator ==(View?, View?)
public static bool operator ==(View? left, View? right)Parameters
Returns
operator !=(View?, View?)
public static bool operator !=(View? left, View? right)Parameters
Returns
operator !=(View?, View?)
public static bool operator !=(View? left, View? right)Parameters
Returns
operator !=(View?, View?)
public static bool operator !=(View? left, View? right)