Skip to content

RoleChangedEventArgs

Namespace: Hex1b

Assembly: Hex1b.dll

Arguments for the callback.

csharp
public sealed class RoleChangedEventArgs : EventArgs

Inheritance

ObjectEventArgsRoleChangedEventArgs

Properties

Height

The PTY height as of this transition.

Returns: Int32

csharp
public int Height { get; }

NowPrimary

Whether the receiving adapter is primary after this transition.

Returns: Boolean

csharp
public bool NowPrimary { get; }

PreviouslyPrimary

Whether the receiving adapter was primary before this transition.

Returns: Boolean

csharp
public bool PreviouslyPrimary { get; }

PrimaryPeerId

The new primary's peer ID, or null when no peer is primary.

Returns: String

csharp
public string? PrimaryPeerId { get; }

Reason

Free-form reason string from the producer.

Returns: String

csharp
public string Reason { get; }

Width

The PTY width as of this transition.

Returns: Int32

csharp
public int Width { get; }

Released under the MIT License.