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