Example #1
0
 protected override void DisposeManagedResources()
 {
     if (this.item != null)
     {
         this.item.PropertyChanged -= new PropertyChangedEventHandler(this.OnDataItemPropertyChanged);
         this.item = (BaseChatCardDataItem)null;
     }
     base.DisposeManagedResources();
 }
Example #2
0
 public ChatCardMessage(
     BaseChatCardDataItem cardDataItem,
     Author author,
     DateTime timeStamp,
     object userData)
     : base(author, timeStamp, userData)
 {
     this.cardDataItem = cardDataItem;
 }
Example #3
0
 public BaseChatCardElement(BaseChatCardDataItem item)
 {
     this.item = item;
     this.Synchronise();
     this.item.PropertyChanged += new PropertyChangedEventHandler(this.OnDataItemPropertyChanged);
 }
Example #4
0
 public ChatCardMessage(BaseChatCardDataItem cardDataItem, Author author, DateTime timeStamp)
     : this(cardDataItem, author, timeStamp, (object)null)
 {
 }