示例#1
0
 public override bool Equals(EntryModel <FileInfoEx, DirectoryInfoEx, FileSystemInfoEx> other)
 {
     if (other == null)
     {
         return(false);
     }
     if (base.ParseName.Equals(other.ParseName))
     {
         return(true);
     }
     if (base.EmbeddedEntry.Equals(other.EmbeddedEntry))
     {
         return(true);
     }
     return(false);
 }
 public EntryMetadataModel(EntryModel <FI, DI, FSI> appliedEntryModel, object value, string propertyKey, string propertyLabel = "",
                           bool isReadOnly = true, int priority = 0)
     : this(new EntryModel <FI, DI, FSI>[] { appliedEntryModel }, value, propertyKey, propertyLabel, isReadOnly, priority)
 {
 }
示例#3
0
 public override bool Equals(EntryModel <FileInfoEx, DirectoryInfoEx, FileSystemInfoEx> other)
 {
     return(base.EmbeddedEntry.FullName.Equals(other.ParseName));
 }