C# Class GraphQL.StringExtensions

Mostra file Open project: graphql-dotnet/graphql-dotnet Class Usage Examples

Public Methods

Method Description
IsEmpty ( this str ) : bool
ToCamelCase ( this s ) : string
ToDelimitedArray ( this content ) : string[]
ToDelimitedArray ( this content, char delimiter ) : string[]
ToEnumerable ( this @this ) : IEnumerable
ToFormat ( this format ) : string
ToInputs ( this json ) : Inputs
ToStr ( this chars ) : string

Private Methods

Method Description
GetValue ( object value ) : object
ToDictionary ( this json ) : object>.Dictionary

Method Details

IsEmpty() public static method

public static IsEmpty ( this str ) : bool
str this
return bool

ToCamelCase() public static method

public static ToCamelCase ( this s ) : string
s this
return string

ToDelimitedArray() public static method

public static ToDelimitedArray ( this content ) : string[]
content this
return string[]

ToDelimitedArray() public static method

public static ToDelimitedArray ( this content, char delimiter ) : string[]
content this
delimiter char
return string[]

ToEnumerable() public static method

public static ToEnumerable ( this @this ) : IEnumerable
@this this
return IEnumerable

ToFormat() public static method

public static ToFormat ( this format ) : string
format this
return string

ToInputs() public static method

public static ToInputs ( this json ) : Inputs
json this
return Inputs

ToStr() public static method

public static ToStr ( this chars ) : string
chars this
return string