TextExtensions
Assembly: ServiceStack.Text.dll
View Source
Declaration
public static class TextExtensions
Methods
ToCsvField(String)
View Source
Declaration
public static string ToCsvField(this string text)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | text |
ToCsvField(Object)
View Source
Declaration
public static object ToCsvField(this object text)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | text |
FromCsvField(String)
View Source
Declaration
public static string FromCsvField(this string text)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | text |
FromCsvFields(IEnumerable<String>)
View Source
Declaration
public static List<string> FromCsvFields(this IEnumerable<string> texts)
Returns
System.Collections.Generic.List<System.String>
Parameters
Type | Name |
---|---|
System.Collections.Generic.IEnumerable<System.String> | texts |
FromCsvFields(String[])
View Source
Declaration
public static string[] FromCsvFields(params string[] texts)
Returns
System.String[]
Parameters
Type | Name |
---|---|
System.String[] | texts |
SerializeToString<T>(T)
View Source
Declaration
public static string SerializeToString<T>(this T value)
Returns
System.String
Parameters
Type | Name |
---|---|
<T> | value |
Type Parameters
T