Beispiel #1
0
        /// <summary>
        /// Copies the object.
        /// </summary>
        /// <returns></returns>
        public ProgramStart Copy()
        {
            ProgramStart ps = new ProgramStart();

            ps.Args     = this.Args;
            ps.FileName = this.FileName;
            return(ps);
        }
Beispiel #2
0
        public bool Equals(ProgramStart other)
        {
            if (other == null)
            {
                return(false);
            }

            return(this.GetHashCode() == other.GetHashCode());
        }
Beispiel #3
0
        public override bool Equals(object obj)
        {
            if (obj == null || GetType() != obj.GetType())
            {
                return(false);
            }

            ProgramStart other = obj as ProgramStart;

            return(this.Equals(other));
        }