@@ -55,7 +55,7 @@ public class MemcachedCacheOptions
5555 public JsonSerializerSettings SerializerSettings { get { return _serializerSettings ; } }
5656
5757 /// <summary>
58- /// Adds the giving password to the options.
58+ /// Adds the giving username to the options.
5959 /// </summary>
6060 /// <param name="username">The user name to be added.</param>
6161 public MemcachedCacheOptions WithUserName ( [ NotNull ] string username )
@@ -79,7 +79,7 @@ public MemcachedCacheOptions WithPassword([NotNull] string password)
7979 /// <summary>
8080 /// Adds the giving endpoint to the options.
8181 /// </summary>
82- /// <param name="host">The host name to be added.</param>
82+ /// <param name="host">The host name or IP address of the server to be added.</param>
8383 /// <param name="port">The port to be added.</param>
8484 public MemcachedCacheOptions WithEndPoint ( [ NotNull ] string host , int port )
8585 {
@@ -93,7 +93,7 @@ public MemcachedCacheOptions WithEndPoint([NotNull] string host, int port)
9393 /// <summary>
9494 /// Adds the giving endpoint to the options.
9595 /// </summary>
96- /// <param name="hostAndPort">The host and port to be added.</param>
96+ /// <param name="hostAndPort">The address and the port of the server in the format 'host:port' to be added.</param>
9797 public MemcachedCacheOptions WithEndPoint ( [ NotNull ] string hostAndPort )
9898 {
9999 _host = Guard . NotEmpty ( hostAndPort , nameof ( hostAndPort ) ) ;
@@ -137,7 +137,6 @@ public MemcachedCacheOptions WithExpiry([NotNull] TimeSpan expiry)
137137 /// Adds the giving json serializer settings to the options.
138138 /// </summary>
139139 /// <param name="serializerSettings">The json srialzer settings to be added.</param>
140- /// <returns>The new options instance with the given json serializer settings added.</returns>
141140 public MemcachedCacheOptions WithJsonSerializerSettings ( [ NotNull ] JsonSerializerSettings serializerSettings )
142141 {
143142 _serializerSettings = Guard . NotNull ( serializerSettings , nameof ( serializerSettings ) ) ;
0 commit comments