Interface INamingStrategy
- Namespace
- TypedRest.CodeGeneration.CSharp
- Assembly
- TypedRest.CodeGeneration.CSharp.dll
public interface INamingStrategy
Methods
DtoType(string)
CSharpIdentifier DtoType(string key)
Parameters
key string
Returns
- CSharpIdentifier
EndpointType(string, IEndpoint, string?)
CSharpIdentifier EndpointType(string key, IEndpoint endpoint, string? prefix = null)
Parameters
key string
endpoint IEndpoint
prefix string
Returns
- CSharpIdentifier
Property(string)
string Property(string key)
Parameters
key string
Returns
- string
TypeFor(OpenApiSchema?, bool)
CSharpIdentifier TypeFor(OpenApiSchema? schema, bool nullableReferenceTypes = true)
Parameters
schema OpenApiSchema
nullableReferenceTypes bool
Returns
- CSharpIdentifier