C# 클래스 DynamicFluentBuilder.Net.Utility

파일 보기 프로젝트 열기: NullVoxPopuli/DynamicFluentBuilder.Net

공개 메소드들

메소드 설명
DefaultValueForType ( Type t ) : object

for use when a constructor parameter doesn't have a user-defined default value

GetParameterNames ( ParameterInfo parameters ) : List
PublicNameToPrivate ( string publicName ) : string

converts FieldName to _fieldName

PublicNameToVariableName ( string publicName ) : string

converts to camelCase from PascalCase

RemoveWith ( string methodName ) : string
VariableNameToPublicName ( string variableName ) : string

converts PascalCase to camelCase

메소드 상세

DefaultValueForType() 공개 정적인 메소드

for use when a constructor parameter doesn't have a user-defined default value
public static DefaultValueForType ( Type t ) : object
t System.Type
리턴 object

GetParameterNames() 공개 정적인 메소드

public static GetParameterNames ( ParameterInfo parameters ) : List
parameters System.Reflection.ParameterInfo
리턴 List

PublicNameToPrivate() 공개 정적인 메소드

converts FieldName to _fieldName
public static PublicNameToPrivate ( string publicName ) : string
publicName string
리턴 string

PublicNameToVariableName() 공개 정적인 메소드

converts to camelCase from PascalCase
public static PublicNameToVariableName ( string publicName ) : string
publicName string
리턴 string

RemoveWith() 공개 정적인 메소드

public static RemoveWith ( string methodName ) : string
methodName string
리턴 string

VariableNameToPublicName() 공개 정적인 메소드

converts PascalCase to camelCase
public static VariableNameToPublicName ( string variableName ) : string
variableName string
리턴 string