Show / Hide Table of Contents

Class PeerEventArgs

Represents arguments of PeerDiscovered and PeerGone events.

Inheritance
object
EventArgs
PeerEventArgs
ClusterMemberEventArgs
Inherited Members
EventArgs.Empty
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: DotNext.Net
Assembly: DotNext.Net.Cluster.dll
Syntax
public abstract class PeerEventArgs : EventArgs

Constructors

View Source

PeerEventArgs()

Declaration
protected PeerEventArgs()

Properties

View Source

PeerAddress

Gets the address of the peer.

Declaration
public abstract EndPoint PeerAddress { get; }
Property Value
Type Description
EndPoint

Methods

View Source

Create(EndPoint)

Creates a new instance of PeerEventArgs class.

Declaration
public static PeerEventArgs Create(EndPoint peer)
Parameters
Type Name Description
EndPoint peer

The peer address.

Returns
Type Description
PeerEventArgs

A new instance of PeerEventArgs class.

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾