/// <summary>
        /// Returns true if PropertiesDecorator instances are equal
        /// </summary>
        /// <param name="other">Instance of PropertiesDecorator to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(PropertiesDecorator other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
            {
                return(false);
            }

            return(false);
        }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Decorators" /> class.
 /// </summary>
 /// <param name="Container">Container.</param>
 /// <param name="Created">Created.</param>
 /// <param name="Description">Description.</param>
 /// <param name="File">File.</param>
 /// <param name="Filesystem">Filesystem.</param>
 /// <param name="Hash">Hash.</param>
 /// <param name="MimeType">MimeType.</param>
 /// <param name="Modified">Modified.</param>
 /// <param name="Name">Name.</param>
 /// <param name="Parent">Parent.</param>
 /// <param name="Preview">Preview.</param>
 /// <param name="Properties">Properties.</param>
 /// <param name="Version">Version.</param>
 public Decorators(ContainerDecorator Container = null, CreatedDecorator Created = null, DescriptionDecorator Description = null, FileDecorator File = null, FileSystemDecorator Filesystem = null, HashDecorator Hash = null, MimeTypeDecorator MimeType = null, ModifiedDecorator Modified = null, NameDecorator Name = null, ParentDecorator Parent = null, PreviewDecorator Preview = null, PropertiesDecorator Properties = null, VersionDecorator Version = null)
 {
     this.Container   = Container;
     this.Created     = Created;
     this.Description = Description;
     this.File        = File;
     this.Filesystem  = Filesystem;
     this.Hash        = Hash;
     this.MimeType    = MimeType;
     this.Modified    = Modified;
     this.Name        = Name;
     this.Parent      = Parent;
     this.Preview     = Preview;
     this.Properties  = Properties;
     this.Version     = Version;
 }