public NetworkAddressWithTime With(DateTimeOffset? Time = null, NetworkAddress NetworkAddress = null) { return new NetworkAddressWithTime ( Time ?? this.Time, NetworkAddress ?? this.NetworkAddress ); }
public VersionPayload(UInt32 ProtocolVersion, UInt64 ServicesBitfield, DateTimeOffset Time, NetworkAddress RemoteAddress, NetworkAddress LocalAddress, UInt64 Nonce, string UserAgent, UInt32 StartBlockHeight, bool Relay) { this.ProtocolVersion = ProtocolVersion; this.ServicesBitfield = ServicesBitfield; this.Time = Time; this.RemoteAddress = RemoteAddress; this.LocalAddress = LocalAddress; this.Nonce = Nonce; this.UserAgent = UserAgent; this.StartBlockHeight = StartBlockHeight; this.Relay = Relay; }
public VersionPayload With(UInt32? ProtocolVersion = null, UInt64? ServicesBitfield = null, DateTimeOffset? Time = null, NetworkAddress RemoteAddress = null, NetworkAddress LocalAddress = null, UInt64? Nonce = null, string UserAgent = null, UInt32? StartBlockHeight = null, bool? Relay = null) { return new VersionPayload ( ProtocolVersion ?? this.ProtocolVersion, ServicesBitfield ?? this.ServicesBitfield, Time ?? this.Time, RemoteAddress ?? this.RemoteAddress, LocalAddress ?? this.LocalAddress, Nonce ?? this.Nonce, UserAgent ?? this.UserAgent, StartBlockHeight ?? this.StartBlockHeight, Relay ?? this.Relay ); }
public NetworkAddressWithTime(DateTimeOffset Time, NetworkAddress NetworkAddress) { this.Time = Time; this.NetworkAddress = NetworkAddress; }
public VersionPayload With(UInt32?ProtocolVersion = null, UInt64?ServicesBitfield = null, DateTimeOffset?Time = null, NetworkAddress RemoteAddress = null, NetworkAddress LocalAddress = null, UInt64?Nonce = null, string UserAgent = null, UInt32?StartBlockHeight = null, bool?Relay = null) { return(new VersionPayload ( ProtocolVersion ?? this.ProtocolVersion, ServicesBitfield ?? this.ServicesBitfield, Time ?? this.Time, RemoteAddress ?? this.RemoteAddress, LocalAddress ?? this.LocalAddress, Nonce ?? this.Nonce, UserAgent ?? this.UserAgent, StartBlockHeight ?? this.StartBlockHeight, Relay ?? this.Relay )); }