C# 클래스 Reinforced.Typings.Generators.ContextExtensions

Various extensions for settings
파일 보기 프로젝트 열기: reinforced/Reinforced.Typings

공개 메소드들

메소드 설명
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