Table of Contents

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

Topic string

The topic for the trend.

DisplayName string

The display name for the trend.

Link string

A link to the trend.

StartedAt DateTimeOffset

The System.DateTimeOffset the trend started at.

PostCount int

The post count for the Topic.

Status string?

The status of Topic.

Category string?

An optional category for the Topic.

Actors IReadOnlyCollection<ProfileViewBasic>

A collection of actors contributing to the Topic.

Description string?

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

Topic string

The topic for the trend.

DisplayName string

The display name for the trend.

Link string

A link to the trend.

StartedAt DateTimeOffset

The System.DateTimeOffset the trend started at.

PostCount int

The post count for the Topic.

Status string?

The status of Topic.

Category string?

An optional category for the Topic.

Actors IReadOnlyCollection<ProfileViewBasic>

A collection of actors contributing to the Topic.

Description string?

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

Topic string

The topic for the trend.

DisplayName string

The display name for the trend.

Link string

A link to the trend.

StartedAt DateTimeOffset

The System.DateTimeOffset the trend started at.

PostCount int

The post count for the Topic.

Status string?

The status of Topic.

Category string?

An optional category for the Topic.

Actors IReadOnlyCollection<ProfileViewBasic>

A collection of actors contributing to the Topic.

Description string?

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

IReadOnlyCollection<ProfileViewBasic>

Actors

A collection of actors contributing to the idunno.Bluesky.Unspecced.TrendView.Topic.

[JsonRequired]
public IReadOnlyCollection<ProfileViewBasic> Actors { get; init; }

Property Value

IReadOnlyCollection<ProfileViewBasic>

Actors

A collection of actors contributing to the idunno.Bluesky.Unspecced.TrendView.Topic.

[JsonRequired]
public IReadOnlyCollection<ProfileViewBasic> Actors { get; init; }

Property Value

IReadOnlyCollection<ProfileViewBasic>

Category

An optional category for the Topic.

public string? Category { get; init; }

Property Value

string?

Category

An optional category for the Topic.

public string? Category { get; init; }

Property Value

string?

Category

An optional category for the Topic.

public string? Category { get; init; }

Property Value

string?

Description

An optional description of the trend.

public string? Description { get; init; }

Property Value

string?

Description

An optional description of the trend.

public string? Description { get; init; }

Property Value

string?

Description

An optional description of the trend.

public string? Description { get; init; }

Property Value

string?

DisplayName

The display name for the trend.

[JsonRequired]
public string DisplayName { get; init; }

Property Value

string

DisplayName

The display name for the trend.

[JsonRequired]
public string DisplayName { get; init; }

Property Value

string

DisplayName

The display name for the trend.

[JsonRequired]
public string DisplayName { get; init; }

Property Value

string

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

A link to the trend.

[JsonRequired]
public string Link { get; init; }

Property Value

string

A link to the trend.

[JsonRequired]
public string Link { get; init; }

Property Value

string

A link to the trend.

[JsonRequired]
public string Link { get; init; }

Property Value

string

PostCount

The post count for the Topic.

[JsonRequired]
public int PostCount { get; init; }

Property Value

int

PostCount

The post count for the Topic.

[JsonRequired]
public int PostCount { get; init; }

Property Value

int

PostCount

The post count for the Topic.

[JsonRequired]
public int PostCount { get; init; }

Property Value

int

StartedAt

The System.DateTimeOffset the trend started at.

[JsonRequired]
public DateTimeOffset StartedAt { get; init; }

Property Value

DateTimeOffset

StartedAt

The System.DateTimeOffset the trend started at.

[JsonRequired]
public DateTimeOffset StartedAt { get; init; }

Property Value

DateTimeOffset

StartedAt

The System.DateTimeOffset the trend started at.

[JsonRequired]
public DateTimeOffset StartedAt { get; init; }

Property Value

DateTimeOffset

Status

The status of Topic.

public string? Status { get; init; }

Property Value

string?

Status

The status of Topic.

public string? Status { get; init; }

Property Value

string?

Status

The status of Topic.

public string? Status { get; init; }

Property Value

string?

Topic

The topic for the trend.

[JsonRequired]
public string Topic { get; init; }

Property Value

string

Topic

The topic for the trend.

[JsonRequired]
public string Topic { get; init; }

Property Value

string

Topic

The topic for the trend.

[JsonRequired]
public string Topic { get; init; }

Property Value

string

Methods

<Clone>$()

public override TrendView <Clone>$()

Returns

TrendView

<Clone>$()

public override TrendView <Clone>$()

Returns

TrendView

<Clone>$()

public override TrendView <Clone>$()

Returns

TrendView

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

Topic string
DisplayName string
Link string
StartedAt DateTimeOffset
PostCount int
Status string?
Category string?
Actors IReadOnlyCollection<ProfileViewBasic>
Description string?

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

Topic string
DisplayName string
Link string
StartedAt DateTimeOffset
PostCount int
Status string?
Category string?
Actors IReadOnlyCollection<ProfileViewBasic>
Description string?

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

Topic string
DisplayName string
Link string
StartedAt DateTimeOffset
PostCount int
Status string?
Category string?
Actors IReadOnlyCollection<ProfileViewBasic>
Description string?

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(TrendView?)

public bool Equals(TrendView? other)

Parameters

other TrendView?

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(TrendView?)

public bool Equals(TrendView? other)

Parameters

other TrendView?

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(TrendView?)

public bool Equals(TrendView? other)

Parameters

other TrendView?

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

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

Parameters

left TrendView?
right TrendView?

Returns

bool

operator ==(TrendView?, TrendView?)

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

Parameters

left TrendView?
right TrendView?

Returns

bool

operator ==(TrendView?, TrendView?)

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

Parameters

left TrendView?
right TrendView?

Returns

bool

operator !=(TrendView?, TrendView?)

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

Parameters

left TrendView?
right TrendView?

Returns

bool

operator !=(TrendView?, TrendView?)

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

Parameters

left TrendView?
right TrendView?

Returns

bool

operator !=(TrendView?, TrendView?)

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

Parameters

left TrendView?
right TrendView?

Returns

bool