コード例 #1
0
ファイル: TestDriverInfo.cs プロジェクト: dotnet/wpf-test
        /// <summary/>
        public override bool Equals(object obj)
        {
            TestDriverInfo other = obj as TestDriverInfo;

            if (other == null)
            {
                return(false);
            }

            if (!Object.Equals(Name, other.Name))
            {
                return(false);
            }
            if (!Object.Equals(Executable, other.Executable))
            {
                return(false);
            }

            return(true);
        }
コード例 #2
0
ファイル: TestDriverInfo.cs プロジェクト: dotnet/wpf-test
        /// <summary/>
        public TestDriverInfo Clone()
        {
            TestDriverInfo clone = (TestDriverInfo)this.MemberwiseClone();

            return(clone);
        }