Class TrustedPeerCollection
Inheritance
TrustedPeerCollection
Assembly: Ipfs.Http.Client.dll
Syntax
public class TrustedPeerCollection : ICollection<MultiAddress>, IEnumerable<MultiAddress>, IEnumerable
Properties
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; }
Property Value
|
Improve this Doc
View Source
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Methods
|
Improve this Doc
View Source
Add(MultiAddress)
Declaration
public void Add(MultiAddress peer)
Parameters
|
Improve this Doc
View Source
AddDefaultNodes()
Add the default bootstrap nodes to the trusted peers.
Declaration
public void AddDefaultNodes()
|
Improve this Doc
View Source
Clear()
Remove all the trusted peers.
Declaration
|
Improve this Doc
View Source
Contains(MultiAddress)
Declaration
public bool Contains(MultiAddress item)
Parameters
Returns
|
Improve this Doc
View Source
CopyTo(MultiAddress[], Int32)
Declaration
public void CopyTo(MultiAddress[] array, int index)
Parameters
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator<MultiAddress> GetEnumerator()
Returns
|
Improve this Doc
View Source
Remove(MultiAddress)
Declaration
public bool Remove(MultiAddress peer)
Parameters
Returns
Explicit Interface Implementations
|
Improve this Doc
View Source
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Implements