Class StringExtensions
Inheritance
System.Object
StringExtensions
Assembly: Syncfusion.EJ2.dll
Syntax
public static class StringExtensions : Object
Methods
Declaration
public static string FormatByName(this string format, IDictionary<string, object> values)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Collections.Generic.IDictionary<System.String, System.Object> |
values |
|
Returns
Declaration
public static string FormatByName(this string format, IFormatProvider provider, IDictionary<string, object> values)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.IFormatProvider |
provider |
|
System.Collections.Generic.IDictionary<System.String, System.Object> |
values |
|
Returns
Declaration
public static string FormatByName(this string format, IFormatProvider provider, Func<string, object> valueProvider)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.IFormatProvider |
provider |
|
System.Func<System.String, System.Object> |
valueProvider |
|
Returns
Declaration
public static void ParseFormat(this string value, bool raiseException, Dictionary<string, PropertyInfo> pdc, out string result, out PropertyInfo[] pds)
Parameters
Type |
Name |
Description |
System.String |
value |
|
System.Boolean |
raiseException |
|
System.Collections.Generic.Dictionary<System.String, System.Reflection.PropertyInfo> |
pdc |
|
System.String |
result |
|
System.Reflection.PropertyInfo[] |
pds |
|