Exemplo n.º 1
0
        public static bool IsEqual(this CookieCollection @this, CookieCollection other)
        {
            if (!(@this != null &&
                  other != null &&
                  @this.Count == other.Count))
            {
                return(false);
            }

            return(@this.CheckSequenceEquals(other));
        }
Exemplo n.º 2
0
        public static void IsEqual(this CookieCollection @this, CookieCollection other, bool isSamePlatform)
        {
            if (@this == null && other == null)
            {
                return;
            }

            Assert.NotNull(@this);
            Assert.NotNull(other);
            Assert.Equal(@this.Count, other.Count);
            @this.CheckSequenceEquals(other, isSamePlatform);
        }