Class TrendView
- Namespace
- idunno.Bluesky.Unspecced
- Assembly
- idunno.Bluesky.dll
Represents a view model for a trending Topic, including its metadata, associated Actors, and Status.
public sealed record TrendView : View, IEquatable<View>, IEquatable<TrendView>Inheritance
Implements
Inherited Members
Constructors
TrendView(string, string, string, DateTimeOffset, int, string?, string?, IReadOnlyCollection<ProfileViewBasic>, string?)
Represents a view model for a trending Topic, including its metadata, associated Actors, and Status.
public TrendView(string Topic, string DisplayName, string Link, DateTimeOffset StartedAt, int PostCount, string? Status, string? Category, IReadOnlyCollection<ProfileViewBasic> Actors, string? Description)Parameters
Topicstring-
The topic for the trend.
DisplayNamestring-
The display name for the trend.
Linkstring-
A link to the trend.
StartedAtDateTimeOffset-
The System.DateTimeOffset the trend started at.
PostCountint-
The post count for the
Topic. Statusstring?-
The status of
Topic. Categorystring?-
An optional category for the
Topic. ActorsIReadOnlyCollection<ProfileViewBasic>-
A collection of actors contributing to the
Topic. Descriptionstring?-
An optional description of the trend.
TrendView(string, string, string, DateTimeOffset, int, string?, string?, IReadOnlyCollection<ProfileViewBasic>, string?)
Represents a view model for a trending Topic, including its metadata, associated Actors, and Status.
public TrendView(string Topic, string DisplayName, string Link, DateTimeOffset StartedAt, int PostCount, string? Status, string? Category, IReadOnlyCollection<ProfileViewBasic> Actors, string? Description)Parameters
Topicstring-
The topic for the trend.
DisplayNamestring-
The display name for the trend.
Linkstring-
A link to the trend.
StartedAtDateTimeOffset-
The System.DateTimeOffset the trend started at.
PostCountint-
The post count for the
Topic. Statusstring?-
The status of
Topic. Categorystring?-
An optional category for the
Topic. ActorsIReadOnlyCollection<ProfileViewBasic>-
A collection of actors contributing to the
Topic. Descriptionstring?-
An optional description of the trend.
TrendView(string, string, string, DateTimeOffset, int, string?, string?, IReadOnlyCollection<ProfileViewBasic>, string?)
Represents a view model for a trending Topic, including its metadata, associated Actors, and Status.
public TrendView(string Topic, string DisplayName, string Link, DateTimeOffset StartedAt, int PostCount, string? Status, string? Category, IReadOnlyCollection<ProfileViewBasic> Actors, string? Description)Parameters
Topicstring-
The topic for the trend.
DisplayNamestring-
The display name for the trend.
Linkstring-
A link to the trend.
StartedAtDateTimeOffset-
The System.DateTimeOffset the trend started at.
PostCountint-
The post count for the
Topic. Statusstring?-
The status of
Topic. Categorystring?-
An optional category for the
Topic. ActorsIReadOnlyCollection<ProfileViewBasic>-
A collection of actors contributing to the
Topic. Descriptionstring?-
An optional description of the trend.
Properties
Actors
A collection of actors contributing to the idunno.Bluesky.Unspecced.TrendView.Topic.
[JsonRequired]
public IReadOnlyCollection<ProfileViewBasic> Actors { get; init; }Property Value
Actors
A collection of actors contributing to the idunno.Bluesky.Unspecced.TrendView.Topic.
[JsonRequired]
public IReadOnlyCollection<ProfileViewBasic> Actors { get; init; }Property Value
Actors
A collection of actors contributing to the idunno.Bluesky.Unspecced.TrendView.Topic.
[JsonRequired]
public IReadOnlyCollection<ProfileViewBasic> Actors { get; init; }Property Value
Category
An optional category for the Topic.
public string? Category { get; init; }Property Value
Category
An optional category for the Topic.
public string? Category { get; init; }Property Value
Category
An optional category for the Topic.
public string? Category { get; init; }Property Value
Description
An optional description of the trend.
public string? Description { get; init; }Property Value
Description
An optional description of the trend.
public string? Description { get; init; }Property Value
Description
An optional description of the trend.
public string? Description { get; init; }Property Value
DisplayName
The display name for the trend.
[JsonRequired]
public string DisplayName { get; init; }Property Value
DisplayName
The display name for the trend.
[JsonRequired]
public string DisplayName { get; init; }Property Value
DisplayName
The display name for the trend.
[JsonRequired]
public string DisplayName { 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
Link
A link to the trend.
[JsonRequired]
public string Link { get; init; }Property Value
Link
A link to the trend.
[JsonRequired]
public string Link { get; init; }Property Value
Link
A link to the trend.
[JsonRequired]
public string Link { get; init; }Property Value
PostCount
The post count for the Topic.
[JsonRequired]
public int PostCount { get; init; }Property Value
PostCount
The post count for the Topic.
[JsonRequired]
public int PostCount { get; init; }Property Value
PostCount
The post count for the Topic.
[JsonRequired]
public int PostCount { get; init; }Property Value
StartedAt
The System.DateTimeOffset the trend started at.
[JsonRequired]
public DateTimeOffset StartedAt { get; init; }Property Value
StartedAt
The System.DateTimeOffset the trend started at.
[JsonRequired]
public DateTimeOffset StartedAt { get; init; }Property Value
StartedAt
The System.DateTimeOffset the trend started at.
[JsonRequired]
public DateTimeOffset StartedAt { get; init; }Property Value
Status
The status of Topic.
public string? Status { get; init; }Property Value
Status
The status of Topic.
public string? Status { get; init; }Property Value
Status
The status of Topic.
public string? Status { get; init; }Property Value
Topic
The topic for the trend.
[JsonRequired]
public string Topic { get; init; }Property Value
Topic
The topic for the trend.
[JsonRequired]
public string Topic { get; init; }Property Value
Topic
The topic for the trend.
[JsonRequired]
public string Topic { get; init; }Property Value
Methods
<Clone>$()
public override TrendView <Clone>$()Returns
<Clone>$()
public override TrendView <Clone>$()Returns
<Clone>$()
public override TrendView <Clone>$()Returns
Deconstruct(out string, out string, out string, out DateTimeOffset, out int, out string?, out string?, out IReadOnlyCollection<ProfileViewBasic>, out string?)
public void Deconstruct(out string Topic, out string DisplayName, out string Link, out DateTimeOffset StartedAt, out int PostCount, out string? Status, out string? Category, out IReadOnlyCollection<ProfileViewBasic> Actors, out string? Description)Parameters
TopicstringDisplayNamestringLinkstringStartedAtDateTimeOffsetPostCountintStatusstring?Categorystring?ActorsIReadOnlyCollection<ProfileViewBasic>Descriptionstring?
Deconstruct(out string, out string, out string, out DateTimeOffset, out int, out string?, out string?, out IReadOnlyCollection<ProfileViewBasic>, out string?)
public void Deconstruct(out string Topic, out string DisplayName, out string Link, out DateTimeOffset StartedAt, out int PostCount, out string? Status, out string? Category, out IReadOnlyCollection<ProfileViewBasic> Actors, out string? Description)Parameters
TopicstringDisplayNamestringLinkstringStartedAtDateTimeOffsetPostCountintStatusstring?Categorystring?ActorsIReadOnlyCollection<ProfileViewBasic>Descriptionstring?
Deconstruct(out string, out string, out string, out DateTimeOffset, out int, out string?, out string?, out IReadOnlyCollection<ProfileViewBasic>, out string?)
public void Deconstruct(out string Topic, out string DisplayName, out string Link, out DateTimeOffset StartedAt, out int PostCount, out string? Status, out string? Category, out IReadOnlyCollection<ProfileViewBasic> Actors, out string? Description)Parameters
TopicstringDisplayNamestringLinkstringStartedAtDateTimeOffsetPostCountintStatusstring?Categorystring?ActorsIReadOnlyCollection<ProfileViewBasic>Descriptionstring?
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(View?)
public override sealed bool Equals(View? other)Parameters
otherView?
Returns
Equals(TrendView?)
public bool Equals(TrendView? other)Parameters
otherTrendView?
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(TrendView?)
public bool Equals(TrendView? other)Parameters
otherTrendView?
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(TrendView?)
public bool Equals(TrendView? other)Parameters
otherTrendView?
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 ==(TrendView?, TrendView?)
public static bool operator ==(TrendView? left, TrendView? right)Parameters
Returns
operator ==(TrendView?, TrendView?)
public static bool operator ==(TrendView? left, TrendView? right)Parameters
Returns
operator ==(TrendView?, TrendView?)
public static bool operator ==(TrendView? left, TrendView? right)Parameters
Returns
operator !=(TrendView?, TrendView?)
public static bool operator !=(TrendView? left, TrendView? right)Parameters
Returns
operator !=(TrendView?, TrendView?)
public static bool operator !=(TrendView? left, TrendView? right)Parameters
Returns
operator !=(TrendView?, TrendView?)
public static bool operator !=(TrendView? left, TrendView? right)