C# Класс Netduino.WebServer.Core.Extensions.StringExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
Contains ( this s, char c ) : bool
Contains ( this s, string value ) : bool
EndsWith ( this s, string value ) : bool
IsNullOrEmpty ( this s ) : bool
IsWhiteSpace ( this c ) : bool

Determines whether a character is whitespace.

PadLeft ( this s, int count, char pad ) : string
PadRight ( this s, int count, char pad ) : string
Replace ( this s, char oldChar, char newChar ) : string
Replace ( this s, string oldValue, string newValue ) : string
StartsWith ( this s, string value ) : bool

Описание методов

Contains() публичный статический Метод

public static Contains ( this s, char c ) : bool
s this
c char
Результат bool

Contains() публичный статический Метод

public static Contains ( this s, string value ) : bool
s this
value string
Результат bool

EndsWith() публичный статический Метод

public static EndsWith ( this s, string value ) : bool
s this
value string
Результат bool

IsNullOrEmpty() публичный статический Метод

public static IsNullOrEmpty ( this s ) : bool
s this
Результат bool

IsWhiteSpace() публичный статический Метод

Determines whether a character is whitespace.
public static IsWhiteSpace ( this c ) : bool
c this
Результат bool

PadLeft() публичный статический Метод

public static PadLeft ( this s, int count, char pad ) : string
s this
count int
pad char
Результат string

PadRight() публичный статический Метод

public static PadRight ( this s, int count, char pad ) : string
s this
count int
pad char
Результат string

Replace() публичный статический Метод

public static Replace ( this s, char oldChar, char newChar ) : string
s this
oldChar char
newChar char
Результат string

Replace() публичный статический Метод

public static Replace ( this s, string oldValue, string newValue ) : string
s this
oldValue string
newValue string
Результат string

StartsWith() публичный статический Метод

public static StartsWith ( this s, string value ) : bool
s this
value string
Результат bool