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