Exemple #1
0
 /// <summary>
 /// Always returns a successfully converted <see cref="string"/>, which is just <paramref name="s"/>.
 /// </summary>
 /// <param name="s">The string.</param>
 /// <returns><paramref name="s"/></returns>
 public static Converted <string?, string> NoConversionNullable(string?s)
 {
     return(Converted <string?, string> .Value(s));
 }
Exemple #2
0
 /// <summary>
 /// Always returns a successfully converted <see cref="string"/>, which is just <paramref name="s"/>.
 /// </summary>
 /// <param name="s">The string.</param>
 /// <returns><paramref name="s"/></returns>
 public static Converted <string, string> NoConversion(string s)
 {
     return(Converted <string, string> .Value(s));
 }