Files
ssh.net/Renci.SshClient/Renci.SshNet/Common/Extensions.NET40.cs
T
olegkap_cp da854b711a Apply 10278 patch and make some minor corrections
Fix Renci.SshNet.NET35 project and make it compilable
Add Tests for .NET 3.5
2011-08-26 12:52:20 +00:00

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);
}
}
}