C# Class Hypermedia.Json.StringExtensions

Datei anzeigen Open project: cosullivan/Hypermedia

Public Methods

Method Description
Join ( this parts, string separator ) : string

Join the string parts with the given separator.

SplitAt ( this input, bool>.Func predicate ) : IEnumerable

Split the input based on upper-case character boundaries.

ToLowerCase ( this parts ) : IEnumerable

Returns the sequence of input's as a sequence of lower case strings.

Private Methods

Method Description
CamelCase ( string input ) : string

Convert the given input string to a camel case representation.

Camelize ( this parts ) : string

Convert a dasherized string input into a camel case representation.

Method Details

Join() public static method

Join the string parts with the given separator.
public static Join ( this parts, string separator ) : string
parts this The string parts to join.
separator string The separator to join the string parts with.
return string

SplitAt() public static method

Split the input based on upper-case character boundaries.
public static SplitAt ( this input, bool>.Func predicate ) : IEnumerable
input this The input to split.
predicate bool>.Func The predicate to match to determine the split.
return IEnumerable

ToLowerCase() public static method

Returns the sequence of input's as a sequence of lower case strings.
public static ToLowerCase ( this parts ) : IEnumerable
parts this The input parts to return as a lower case sequence.
return IEnumerable