Class NamingConvention

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(config: NamingConventionOptions): NamingConvention

Parameters

Returns

NamingConvention

Properties

public static camelCase: NamingConvention

public static defaultInstance: NamingConvention

public static none: NamingConvention

Methods

public clientPropertyNameToServer(clientPropertyName: string): string

Parameters

  • clientPropertyName: string

Returns

string

public clientPropertyNameToServer(clientPropertyName: string, property: IProperty): string

Parameters

  • clientPropertyName: string
  • property: IProperty

Returns

string

public serverPropertyNameToClient(serverPropertyName: string): string

Parameters

  • serverPropertyName: string

Returns

string

public serverPropertyNameToClient(serverPropertyName: string, property: IProperty): string

Parameters

  • serverPropertyName: string
  • property: IProperty

Returns

string

public setAsDefault(): NamingConvention

Returns

NamingConvention