Lucene.Net.Index.BaseTermVectorsFormatTestCase.Equals C# (CSharp) Method

Equals() protected static method

protected static Equals ( object o1, object o2 ) : bool
o1 object
o2 object
return bool
        protected internal static bool Equals(object o1, object o2)
        {
            if (o1 == null)
            {
                return o2 == null;
            }
            else
            {
                return o1.Equals(o2);
            }
        }