Class AdminReportItem
A report as the panel lists it.
Implements
Inherited Members
Namespace: Uniform.Chat.Avalonia.ViewModels
Assembly: Uniform.Chat.Avalonia.dll
Syntax
public sealed record AdminReportItem : IEquatable<AdminReportItem>
Constructors
| Edit this page View SourceAdminReportItem(AdminReport, string, string, string?)
A report as the panel lists it.
Declaration
public AdminReportItem(AdminReport Report, string Title, string Details, string? ReportedUser)
Parameters
| Type | Name | Description |
|---|---|---|
| AdminReport | Report | The report. |
| string | Title | Who reported what, and when. |
| string | Details | Why, and the reported message when the server can read it. |
| string | ReportedUser | The reported user, or the reported message's sender; null when unknown. |
Properties
| Edit this page View SourceDetails
Why, and the reported message when the server can read it.
Declaration
public string Details { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
HasReportedUser
Whether there is a user to suspend.
Declaration
public bool HasReportedUser { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasRoom
Whether there is a room to shut down.
Declaration
public bool HasRoom { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Report
The report.
Declaration
public AdminReport Report { get; init; }
Property Value
| Type | Description |
|---|---|
| AdminReport |
ReportedUser
The reported user, or the reported message's sender; null when unknown.
Declaration
public string? ReportedUser { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Title
Who reported what, and when.
Declaration
public string Title { get; init; }
Property Value
| Type | Description |
|---|---|
| string |