Renci.SshNet.ForwardedPortStatus.operator C# (CSharp) 메소드

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool
        public static bool operator ==(ForwardedPortStatus left, ForwardedPortStatus right)
        {
            // check if lhs is null
            if (ReferenceEquals(left, null))
            {
                // check if both lhs and rhs are null
                return (ReferenceEquals(right, null));
            }

            return left.Equals(right);
        }