C# Class Regextra.TemplateBenchmarks.Formatters.TemplateReflection

Afficher le fichier Open project: amageed/Regextra

Méthodes publiques

Méthode Description
Format ( string template, object item ) : string
TemplateFormat ( this template, object item ) : string

Private Methods

Méthode Description
FormatEscapedToken ( string token ) : string
FormatOddBalancedToken ( Match m, string property ) : string
FormatPartiallyDelimitedToken ( Match m, Func propertyValue ) : string
FormatProperty ( object item, Match m, PropertyInfo propertyInfo ) : string
GetFailedPropertyChain ( string properties, int index ) : string>.Tuple
GetNestedPropertyValue ( object item, Match m ) : string
GetPropertyValue ( object item, Match m ) : string
GetSinglePropertyValue ( object item, Match m ) : string
IsBalancedDelimiterCountEven ( Match m ) : bool
IsBalancedDelimiterCountOdd ( Match m ) : bool
IsPartiallyDelimited ( Match m ) : bool
TrimPartialDelimiters ( bool isOddPair, char delimiterChar, int length ) : string

Method Details

Format() public static méthode

public static Format ( string template, object item ) : string
template string
item object
Résultat string

TemplateFormat() public static méthode

public static TemplateFormat ( this template, object item ) : string
template this
item object
Résultat string