Table of Contents

Class ContainerNotification

Namespace
KernLab.Cell
Assembly
KernLab.Cell.dll

容器通知(宿主侧接收形态——拷贝脱离池化帧,事件 handler 收独立副本;双向通知设计稿 §4)。

public sealed record ContainerNotification : IEquatable<ContainerNotification>
Inheritance
ContainerNotification
Implements
Inherited Members

Constructors

ContainerNotification(string, byte[])

容器通知(宿主侧接收形态——拷贝脱离池化帧,事件 handler 收独立副本;双向通知设计稿 §4)。

public ContainerNotification(string Key, byte[] Payload)

Parameters

Key string
Payload byte[]

Properties

Key

public string Key { get; init; }

Property Value

string

Payload

public byte[] Payload { get; init; }

Property Value

byte[]

Methods

Deconstruct(out string, out byte[])

public void Deconstruct(out string Key, out byte[] Payload)

Parameters

Key string
Payload byte[]

Equals(ContainerNotification?)

public bool Equals(ContainerNotification? other)

Parameters

other ContainerNotification

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ContainerNotification?, ContainerNotification?)

public static bool operator ==(ContainerNotification? left, ContainerNotification? right)

Parameters

left ContainerNotification
right ContainerNotification

Returns

bool

operator !=(ContainerNotification?, ContainerNotification?)

public static bool operator !=(ContainerNotification? left, ContainerNotification? right)

Parameters

left ContainerNotification
right ContainerNotification

Returns

bool