Class PeerDao
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Catalyst.Core.Lib.DAO
Assembly: Catalyst.Core.Lib.dll
Syntax
public sealed class PeerDao : DaoBase<Peer, PeerDao>, IMapperInitializer, IValueConverter<Peer, PeerDao>
Properties
| Improve this Doc View SourceBlackListed
Declaration
public bool BlackListed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Created
When peer was first seen by the peer.
Declaration
public DateTime Created { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
InactiveFor
Declaration
public TimeSpan InactiveFor { get; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
IsAwolPeer
Declaration
public bool IsAwolPeer { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LastSeen
Declaration
public DateTime LastSeen { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Modified
Declaration
public DateTime? Modified { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
PeerIdentifier
Declaration
public PeerIdDao PeerIdentifier { get; set; }
Property Value
Type | Description |
---|---|
PeerIdDao |
Reputation
Declaration
public int Reputation { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceInitMappers(IMapperConfigurationExpression)
Declaration
public override void InitMappers(IMapperConfigurationExpression cfg)
Parameters
Type | Name | Description |
---|---|---|
IMapperConfigurationExpression | cfg |
Overrides
Catalyst.Core.Lib.DAO.DaoBase<Catalyst.Core.Lib.P2P.Models.Peer, Catalyst.Core.Lib.DAO.PeerDao>.InitMappers(IMapperConfigurationExpression)
|
Improve this Doc
View Source
Touch()
Declaration
public void Touch()
Implements
IValueConverter<, >