mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-10-15 17:11:34 +00:00
da854b711a
Fix Renci.SshNet.NET35 project and make it compilable Add Tests for .NET 3.5
26 lines
867 B
C#
26 lines
867 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Renci.SshNet
|
|
{
|
|
/// <summary>
|
|
/// Collection of different extension method specific for .NET 4.0
|
|
/// </summary>
|
|
public static partial class Extensions
|
|
{
|
|
/// <summary>
|
|
/// Indicates whether a specified string is null, empty, or consists only of white-space characters.
|
|
/// </summary>
|
|
/// <param name="value">The string to test.</param>
|
|
/// <returns>
|
|
/// <c>true</c> if the value parameter is null or System.String.Empty, or if value consists exclusively of white-space characters; otherwise, <c>false</c>.
|
|
/// </returns>
|
|
internal static bool IsNullOrWhiteSpace(this string value)
|
|
{
|
|
return string.IsNullOrWhiteSpace(value);
|
|
}
|
|
}
|
|
}
|