Class SidebarItem
Namespace: Momentum.Extensions.EventMarkdownGenerator.Models
Assembly: Momentum.Extensions.EventMarkdownGenerator.dll
csharp
public record SidebarItem : IEquatable<SidebarItem>
Inheritance
Implements
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
SidebarItem(SidebarItem)
csharp
protected SidebarItem(SidebarItem original)
Parameters
original
SidebarItem
SidebarItem()
csharp
public SidebarItem()
Properties
Collapsed
csharp
public bool Collapsed { get; init; }
Property Value
EqualityContract
csharp
protected virtual Type EqualityContract { get; }
Property Value
Items
csharp
public List<SidebarItem> Items { get; init; }
Property Value
Link
csharp
public string? Link { get; init; }
Property Value
Text
csharp
public required string Text { get; init; }
Property Value
Methods
<Clone>$()
csharp
public virtual SidebarItem <Clone>$()
Returns
Equals(object?)
csharp
public override bool Equals(object? obj)
Parameters
obj
object?
Returns
Equals(SidebarItem?)
csharp
public virtual bool Equals(SidebarItem? other)
Parameters
other
SidebarItem?
Returns
GetHashCode()
csharp
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
csharp
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builder
StringBuilder
Returns
ToString()
csharp
public override string ToString()
Returns
Operators
operator ==(SidebarItem?, SidebarItem?)
csharp
public static bool operator ==(SidebarItem? left, SidebarItem? right)
Parameters
left
SidebarItem?
right
SidebarItem?
Returns
operator !=(SidebarItem?, SidebarItem?)
csharp
public static bool operator !=(SidebarItem? left, SidebarItem? right)
Parameters
left
SidebarItem?
right
SidebarItem?