Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool
예제 #1
0
        public void AssetsManifestsWithSamePathAreEqual()
        {
            var manifest1 = new AssetManifest {
                Path = "~/path"
            };
            var manifest2 = new AssetManifest {
                Path = "~/path"
            };

            manifest1.Equals(manifest2).ShouldBeTrue();
        }
예제 #2
0
        public void AssetsManifestsWithSamePathButDifferentlyCasedAreEqual()
        {
            var manifest1 = new AssetManifest {
                Path = "~/PATH"
            };
            var manifest2 = new AssetManifest {
                Path = "~/path"
            };

            manifest1.Equals(manifest2).ShouldBeTrue();
        }
예제 #3
0
 public void AssetsManifestsWithSamePathButDifferentlyCasedAreEqual()
 {
     var manifest1 = new AssetManifest { Path = "~/PATH" };
     var manifest2 = new AssetManifest { Path = "~/path" };
     manifest1.Equals(manifest2).ShouldBeTrue();
 }
예제 #4
0
 public void AssetsManifestsWithSamePathAreEqual()
 {
     var manifest1 = new AssetManifest { Path = "~/path" };
     var manifest2 = new AssetManifest { Path = "~/path" };
     manifest1.Equals(manifest2).ShouldBeTrue();
 }