コード例 #1
0
 protected override bool MustReactToAttachmentCreation(AttachmentViewModelBase attachmentViewModelBase)
 {
     return(attachmentViewModelBase is NoteAttachmentViewModel);
 }
コード例 #2
0
 protected override bool MustReactToAttachmentCreation(AttachmentViewModelBase attachmentViewModelBase)
 {
     return(attachmentViewModelBase is PhotoAttachmentViewModel || attachmentViewModelBase is PhotoAlbumAttachmentViewModel);
 }