C# Class AvalonStudio.Extensibility.Ext

Afficher le fichier Open project: VitalElement/AvalonStudio

Méthodes publiques

Méthode Description
Center ( this stringToCenter, int totalLength ) : string
Chunkify ( this str, int maxChunkLength ) : IEnumerable
Chunkify ( this str, int maxChunkLength, char removedSplitters, char keptSplitters ) : IEnumerable
LevenshteinDistance ( this str, string compare, bool caseSensitive = true ) : int
StripHTML ( this HTMLText ) : string
Truncate ( this value, int maxLength, string endString = "" ) : string

Method Details

Center() public static méthode

public static Center ( this stringToCenter, int totalLength ) : string
stringToCenter this
totalLength int
Résultat string

Chunkify() public static méthode

public static Chunkify ( this str, int maxChunkLength ) : IEnumerable
str this
maxChunkLength int
Résultat IEnumerable

Chunkify() public static méthode

public static Chunkify ( this str, int maxChunkLength, char removedSplitters, char keptSplitters ) : IEnumerable
str this
maxChunkLength int
removedSplitters char
keptSplitters char
Résultat IEnumerable

LevenshteinDistance() public static méthode

public static LevenshteinDistance ( this str, string compare, bool caseSensitive = true ) : int
str this
compare string
caseSensitive bool
Résultat int

StripHTML() public static méthode

public static StripHTML ( this HTMLText ) : string
HTMLText this
Résultat string

Truncate() public static méthode

public static Truncate ( this value, int maxLength, string endString = "" ) : string
value this
maxLength int
endString string
Résultat string