Class StatusPage
public record StatusPage : IStatusPage, IEquatable<StatusPage>
- Inheritance
-
StatusPage
- Implements
- Inherited Members
- Extension Methods
Constructors
StatusPage()
public StatusPage()
StatusPage(StatusPage)
protected StatusPage(StatusPage original)
Parameters
originalStatusPage
Properties
Description
The description of the status page.
public string? Description { get; set; }
Property Value
DisplayOption
The display option of the status page.
public StatusPageDisplayOption DisplayOption { get; set; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Id
public long Id { get; set; }
Property Value
IsInactiveResourcesHidden
If true, members in an inactive state will be hidden on the frontend.
public bool IsInactiveResourcesHidden { get; set; }
Property Value
Members
The list of units associated with the status page.
public IEnumerable<IStatusPageMember>? Members { get; set; }
Property Value
Name
The name of the status page.
public string? Name { get; set; }
Property Value
SortNumber
The sort number used to determine the order of status pages.
public int SortNumber { get; set; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(StatusPage?)
public virtual bool Equals(StatusPage? other)
Parameters
otherStatusPage
Returns
GetGroups()
Retrieves the already used groups associated with the units in the status page.
public IEnumerable<string> GetGroups()
Returns
- IEnumerable<string>
An enumerable collection of unique group names.
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(StatusPage?, StatusPage?)
public static bool operator ==(StatusPage? left, StatusPage? right)
Parameters
leftStatusPagerightStatusPage
Returns
operator !=(StatusPage?, StatusPage?)
public static bool operator !=(StatusPage? left, StatusPage? right)
Parameters
leftStatusPagerightStatusPage