Serilog.Events.ScalarValue.Equals C# (CSharp) Method

Equals() public method

Determine if this instance is equal to obj.
public Equals ( object obj ) : bool
obj object The instance to compare with.
return bool
        public override bool Equals(object obj)
        {
            var sv = obj as ScalarValue;
            if (sv == null) return false;
            return Equals(Value, sv.Value);
        }