Skip to content
Meshline
SDK 1.1.0 · TypeView source on GitHub

Developer guide · API index

Members on this page

Meshline.Sdk

Meshline.Models.Protocol

GroupMemberBan Class

Bans the listed accounts through the group's signed management chain.

public sealed record GroupMemberBan : Meshline.Models.Protocol.GroupManagementOperation, System.IEquatable<Meshline.Models.Protocol.GroupMemberBan>

Inheritance System.Object → ProtocolModel → TypedProtocolModel → GroupManagementOperation → GroupMemberBan

Implements System.IEquatable<GroupMemberBan>

Constructors

GroupMemberBan() Constructor

Bans the listed accounts through the group's signed management chain.

public GroupMemberBan();

Properties

GroupMemberBan.Accounts Property

The account identifiers affected by the operation.

public System.Collections.Immutable.ImmutableArray<string> Accounts { get; init; }

Property Value

System.Collections.Immutable.ImmutableArray<System.String>

Methods

GroupMemberBan.Validate(NetworkContext) Method

Validates the management-chain fields and accounts to ban.

public override Meshline.Validation.ProtocolViolation? Validate(Meshline.Models.NetworkContext? context=null);

Parameters

context NetworkContext

The optional network context passed to nested validation when needed; field-only validation may ignore it.

Returns

ProtocolViolation
The first detected protocol violation, or null if the implemented checks pass.