C# Класс Reinforced.Typings.Generators.ContextExtensions

Various extensions for settings
Показать файл Открыть проект

Открытые методы

Метод Описание
CamelCaseFromAttribute ( this member, string regularName ) : string

Conditionally (based on attribute setting) turns member name to camelCase

ConditionallyConvertMethodNameToCamelCase ( this context, string regularName ) : string

Conditionally (based on settings) turns method name to camelCase

ConditionallyConvertMethodNameToPascalCase ( this context, string regularName ) : string

Conditionally (based on settings) turns method name to PascalCase

ConditionallyConvertPropertyNameToCamelCase ( this context, string regularName ) : string

Conditionally (based on settings) turns property name to camelCase

PascalCaseFromAttribute ( this member, string regularName ) : string

Conditionally (based on attribute setting) turns member name to PascalCase

Приватные методы

Метод Описание
ConvertToCamelCase ( string s ) : string
ConvertToPascalCase ( string s ) : string

Описание методов

CamelCaseFromAttribute() публичный статический Метод

Conditionally (based on attribute setting) turns member name to camelCase
public static CamelCaseFromAttribute ( this member, string regularName ) : string
member this Member
regularName string Regular property name
Результат string

ConditionallyConvertMethodNameToCamelCase() публичный статический Метод

Conditionally (based on settings) turns method name to camelCase
public static ConditionallyConvertMethodNameToCamelCase ( this context, string regularName ) : string
context this Settings object
regularName string Regular method name
Результат string

ConditionallyConvertMethodNameToPascalCase() публичный статический Метод

Conditionally (based on settings) turns method name to PascalCase
public static ConditionallyConvertMethodNameToPascalCase ( this context, string regularName ) : string
context this Settings object
regularName string Regular method name
Результат string

ConditionallyConvertPropertyNameToCamelCase() публичный статический Метод

Conditionally (based on settings) turns property name to camelCase
public static ConditionallyConvertPropertyNameToCamelCase ( this context, string regularName ) : string
context this Settings object
regularName string Regular property name
Результат string

PascalCaseFromAttribute() публичный статический Метод

Conditionally (based on attribute setting) turns member name to PascalCase
public static PascalCaseFromAttribute ( this member, string regularName ) : string
member this Member
regularName string Regular property name
Результат string