Skip to main content

ServiceStackExtensions

Move conflicting extension methods into 'ServiceStack.Extensions' namespace

Assembly: ServiceStack.Text.dll​
View Source​
Declaration
public static class ServiceStackExtensions

Methods​

Trim(ReadOnlyMemory<Char>)​

View Source​
Declaration
public static ReadOnlyMemory<char> Trim(this ReadOnlyMemory<char> span)
Returns​

ReadOnlyMemory<System.Char>

Parameters​
TypeName
ReadOnlyMemory<System.Char>span

TrimStart(ReadOnlyMemory<Char>)​

View Source​
Declaration
public static ReadOnlyMemory<char> TrimStart(this ReadOnlyMemory<char> value)
Returns​

ReadOnlyMemory<System.Char>

Parameters​
TypeName
ReadOnlyMemory<System.Char>value

TrimEnd(ReadOnlyMemory<Char>)​

View Source​
Declaration
public static ReadOnlyMemory<char> TrimEnd(this ReadOnlyMemory<char> value)
Returns​

ReadOnlyMemory<System.Char>

Parameters​
TypeName
ReadOnlyMemory<System.Char>value