C# Класс DynamicFluentBuilder.Net.Utility

Показать файл Открыть проект

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

Метод Описание
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