From e88a40ae265ee82073ef9238a0289e6e952557a8 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Tue, 2 Oct 2018 14:34:20 +0200 Subject: add xmldoc comments --- src/csharp/Grpc.Core/ChannelOptions.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/csharp/Grpc.Core/ChannelOptions.cs') diff --git a/src/csharp/Grpc.Core/ChannelOptions.cs b/src/csharp/Grpc.Core/ChannelOptions.cs index 3ea05120c1..880f2bef5f 100644 --- a/src/csharp/Grpc.Core/ChannelOptions.cs +++ b/src/csharp/Grpc.Core/ChannelOptions.cs @@ -122,11 +122,17 @@ namespace Grpc.Core } } + /// + /// Determines whether the specified object is equal to the current object. + /// public override bool Equals(object obj) { return Equals(obj as ChannelOption); } + /// + /// Determines whether the specified object is equal to the current object. + /// public bool Equals(ChannelOption other) { return other != null && @@ -136,6 +142,9 @@ namespace Grpc.Core stringValue == other.stringValue; } + /// + /// A hash code for the current object. + /// public override int GetHashCode() { var hashCode = 1412678443; @@ -146,11 +155,17 @@ namespace Grpc.Core return hashCode; } + /// + /// Equality operator. + /// public static bool operator ==(ChannelOption option1, ChannelOption option2) { return EqualityComparer.Default.Equals(option1, option2); } + /// + /// Inequality operator. + /// public static bool operator !=(ChannelOption option1, ChannelOption option2) { return !(option1 == option2); -- cgit v1.2.3