C# Class Candor.WindowsAzure.StringExtensions

Various common use case extensions to System.String related to special needs in Azure storage keys.
ファイルを表示 Open project: michael-lang/candor-common

Public Methods

Method Description
GetSimplePartitionKey ( this text ) : string

Create an azure partition key in a lower case format and just alpha numeric with non-repeating dashes.

GetSimplePartitionKey ( this text ) : string

Create a multi-part azure partition key from a series of strings, each becoming a simple key and each separated by a pipe.

GetSimplePartitionNextKey ( this text ) : string

Create an azure partition key in a lower case format and just alpha numeric with non-repeating dashes, incremented by lexical value.

GetSimplePartitionNextKey ( this text ) : string

Create a multi-part azure partition key from a series of strings, each becoming a simple key and each separated by a pipe. Increments the last item in the enumeration by one lexical value.

GetSimpleRowKey ( this text ) : string

Create an azure row key in a lower case format and just alpha numeric with non-repeating dashes.

GetSimpleRowKey ( this text ) : string

Create a multi-part azure row key from a series of strings, each becoming a simple key and each separated by a pipe.

GetSimpleRowNextKey ( this text ) : string

Create an azure row key in a lower case format and just alpha numeric with non-repeating dashes, incremented by lexical value.

GetSimpleRowNextKey ( this text ) : string

Create a multi-part azure row key from a series of strings, each becoming a simple key and each separated by a pipe. Increments the last item in the enumeration by one lexical value.

Method Details

GetSimplePartitionKey() public static method

Create an azure partition key in a lower case format and just alpha numeric with non-repeating dashes.
public static GetSimplePartitionKey ( this text ) : string
text this
return string

GetSimplePartitionKey() public static method

Create a multi-part azure partition key from a series of strings, each becoming a simple key and each separated by a pipe.
public static GetSimplePartitionKey ( this text ) : string
text this
return string

GetSimplePartitionNextKey() public static method

Create an azure partition key in a lower case format and just alpha numeric with non-repeating dashes, incremented by lexical value.
public static GetSimplePartitionNextKey ( this text ) : string
text this
return string

GetSimplePartitionNextKey() public static method

Create a multi-part azure partition key from a series of strings, each becoming a simple key and each separated by a pipe. Increments the last item in the enumeration by one lexical value.
public static GetSimplePartitionNextKey ( this text ) : string
text this
return string

GetSimpleRowKey() public static method

Create an azure row key in a lower case format and just alpha numeric with non-repeating dashes.
public static GetSimpleRowKey ( this text ) : string
text this
return string

GetSimpleRowKey() public static method

Create a multi-part azure row key from a series of strings, each becoming a simple key and each separated by a pipe.
public static GetSimpleRowKey ( this text ) : string
text this
return string

GetSimpleRowNextKey() public static method

Create an azure row key in a lower case format and just alpha numeric with non-repeating dashes, incremented by lexical value.
public static GetSimpleRowNextKey ( this text ) : string
text this
return string

GetSimpleRowNextKey() public static method

Create a multi-part azure row key from a series of strings, each becoming a simple key and each separated by a pipe. Increments the last item in the enumeration by one lexical value.
public static GetSimpleRowNextKey ( this text ) : string
text this
return string