Beispiel #1
0
        public static bool Equals(ArticleSelectedMessage?left, ArticleSelectedMessage?right)
        {
            bool result = SubscribedMessage.Equals(left, right);

            result &= (result ? ArticleSelectedArticle.Equals(left?.Article, right?.Article) : false);

            return(result);
        }
Beispiel #2
0
 public ArticleSelectedMessage(MessageId id,
                               SubscriberId source,
                               SubscriberId destination,
                               ArticleSelectedArticle article)
     :
     base(id, ExperimentalDialogs.ArticleSelected, source, destination)
 {
     this.Article = article;
 }