London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class StringExtensions

Inheritance
System.Object
StringExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Data.Provider.Internal.Extensions
Assembly: Mediachase.DataProvider.dll
Version: 13.30.0
Syntax
public static class StringExtensions

Methods

NullIfEmpty(String)

Converts an empty string to null.

Declaration
public static string NullIfEmpty(this string input)
Parameters
Type Name Description
System.String input

The input string.

Returns
Type Description
System.String

null if input is null or empty, otherwise input is returned without modification.