Struct NetManager.NetPeerEnumerator
Implements
System.Collections.Generic.IEnumerator<NetPeer>
System.IDisposable
System.Collections.IEnumerator
Namespace: LiteNetLib
Assembly: LiteNetLib.dll
Syntax
public struct NetPeerEnumerator : IEnumerator<NetPeer>, IDisposable, IEnumerator
Constructors
NetPeerEnumerator(NetPeer)
Declaration
public NetPeerEnumerator(NetPeer p)
Parameters
Type | Name | Description |
---|---|---|
NetPeer | p |
Properties
Current
Declaration
public NetPeer Current { get; }
Property Value
Type | Description |
---|---|
NetPeer |
Methods
Dispose()
Declaration
public void Dispose()
MoveNext()
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean |
Reset()
Declaration
public void Reset()
Explicit Interface Implementations
IEnumerator.Current
Declaration
object IEnumerator.Current { get; }
Returns
Type | Description |
---|---|
System.Object |
Implements
System.Collections.Generic.IEnumerator<T>
System.IDisposable
System.Collections.IEnumerator