C# Class Hypermedia.Json.SnakeCaseNamingStrategy

Inheritance: IFieldNamingStrategy
Datei anzeigen Open project: cosullivan/Hypermedia Class Usage Examples

Public Methods

Method Description
GetName ( string name ) : string

Returns the name as to how it is represented for this strategy.

ResolveName ( string name ) : string

Resolve the name from the strategy back to the field name.

Method Details

GetName() public method

Returns the name as to how it is represented for this strategy.
public GetName ( string name ) : string
name string The name to modified according to the strategy.
return string

ResolveName() public method

Resolve the name from the strategy back to the field name.
public ResolveName ( string name ) : string
name string The name that was defined from the strategy.
return string