Struct AttachmentActionSpan
Inclusive column range on a chat line that triggers an attachment action when clicked.
public readonly struct AttachmentActionSpan : IEquatable<AttachmentActionSpan>
- Implements
- Inherited Members
Constructors
AttachmentActionSpan(int, int, AttachmentAction)
Inclusive column range on a chat line that triggers an attachment action when clicked.
public AttachmentActionSpan(int StartCol, int EndCol, AttachmentAction Action)
Parameters
StartColintEndColintActionAttachmentAction
Properties
Action
public AttachmentAction Action { get; init; }
Property Value
EndCol
public int EndCol { get; init; }
Property Value
StartCol
public int StartCol { get; init; }
Property Value
Methods
Deconstruct(out int, out int, out AttachmentAction)
public void Deconstruct(out int StartCol, out int EndCol, out AttachmentAction Action)
Parameters
StartColintEndColintActionAttachmentAction
Equals(AttachmentActionSpan)
public bool Equals(AttachmentActionSpan other)
Parameters
otherAttachmentActionSpan
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(AttachmentActionSpan, AttachmentActionSpan)
public static bool operator ==(AttachmentActionSpan left, AttachmentActionSpan right)
Parameters
leftAttachmentActionSpanrightAttachmentActionSpan
Returns
operator !=(AttachmentActionSpan, AttachmentActionSpan)
public static bool operator !=(AttachmentActionSpan left, AttachmentActionSpan right)
Parameters
leftAttachmentActionSpanrightAttachmentActionSpan