コード例 #1
0
 protected virtual bool Validate(TResolveMessage resolveMessage)
 {
     return(DiscoveryService.EnsureMessageId() &&
            DiscoveryService.EnsureReplyTo() &&
            this.ValidateContent(resolveMessage) &&
            this.EnsureNotDuplicate());
 }
 protected virtual bool Validate(TProbeMessage probeMessage)
 {
     return(DiscoveryService.EnsureMessageId() &&
            this.ValidateContent(probeMessage) &&
            this.EnsureNotDuplicate());
 }