C# Class BridgeStack.Utility

Utility class for non-extension helper methods.
ファイルを表示 Open project: bevacqua/BridgeStack

Public Properties

Property Type Description
JsonMimeType string

Public Methods

Method Description
GetAllProperiesOfObject ( object entity ) : IEnumerable

List and return the properties of an object through Reflection.

JoinQueryStringParameters ( ) : string

Concatenates serialized query string parameter lists.

QueryStringToJson ( string query ) : string

Returns a plain JSON object out of query string parameters.

Method Details

GetAllProperiesOfObject() public static method

List and return the properties of an object through Reflection.
public static GetAllProperiesOfObject ( object entity ) : IEnumerable
entity object The object.
return IEnumerable

JoinQueryStringParameters() public static method

Concatenates serialized query string parameter lists.
public static JoinQueryStringParameters ( ) : string
return string

QueryStringToJson() public static method

Returns a plain JSON object out of query string parameters.
public static QueryStringToJson ( string query ) : string
query string The query string.
return string

Property Details

JsonMimeType public_oe static_oe property

The JSON MIME type used in content encoding for the StackExchange API protocol.
public static string JsonMimeType
return string