C# Class DynamicFluentBuilder.Net.Utility

Afficher le fichier Open project: NullVoxPopuli/DynamicFluentBuilder.Net

Méthodes publiques

Méthode Description
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

Method Details

DefaultValueForType() public static méthode

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

GetParameterNames() public static méthode

public static GetParameterNames ( ParameterInfo parameters ) : List
parameters System.Reflection.ParameterInfo
Résultat List

PublicNameToPrivate() public static méthode

converts FieldName to _fieldName
public static PublicNameToPrivate ( string publicName ) : string
publicName string
Résultat string

PublicNameToVariableName() public static méthode

converts to camelCase from PascalCase
public static PublicNameToVariableName ( string publicName ) : string
publicName string
Résultat string

RemoveWith() public static méthode

public static RemoveWith ( string methodName ) : string
methodName string
Résultat string

VariableNameToPublicName() public static méthode

converts PascalCase to camelCase
public static VariableNameToPublicName ( string variableName ) : string
variableName string
Résultat string