【发布时间】:2011-06-23 18:25:14
【问题描述】:
我有一个如下所示的类/结构
公共类文件详细信息 { 公共文件详细信息() { }
public PrintFile PrintFileDetails { get; set; } public Boolean IsSelected { get; set; } public DateTime UploadTime { get; set; } public long FileSize { get; set; } public UploadTypes TypeOfUpload { get; set; } public DateTime DownloadStartTime {get;set;} public DateTime DownloadEndTime {get;set;} public bool ShouldDownload{get;set;} }
在上面的 sn -p PrintFile 中定义了一个 XSD。我计划在ObservableConnection 中部署这个结构。如果我实施NotifypropertychangedFileDetails,PrintFileDetails 下的项目也能获得INotifypropertychanged 的好处。我相信我无法实现 INotifyPropertyChanged,因为它在其他程序员之间共享。
【问题讨论】:
标签: c# .net inotifypropertychanged