C# Class Rhythm.Staticize.IOExtensions

Afficher le fichier Open project: darklx/Staticize

Méthodes publiques

Méthode Description
IndexOfDirectorySeparator ( this path ) : int
IsDirectorySeparator ( this chr ) : bool
RemoveLastDirectorySeparator ( this path ) : string

移光最后的斜杠,不管是正斜还是反斜。

RemoveStartDirectorySeparator ( this path ) : string

移光最前面的斜杠,不管是正斜还是反斜。

Method Details

IndexOfDirectorySeparator() public static méthode

public static IndexOfDirectorySeparator ( this path ) : int
path this
Résultat int

IsDirectorySeparator() public static méthode

public static IsDirectorySeparator ( this chr ) : bool
chr this
Résultat bool

RemoveLastDirectorySeparator() public static méthode

移光最后的斜杠,不管是正斜还是反斜。
public static RemoveLastDirectorySeparator ( this path ) : string
path this
Résultat string

RemoveStartDirectorySeparator() public static méthode

移光最前面的斜杠,不管是正斜还是反斜。
public static RemoveStartDirectorySeparator ( this path ) : string
path this
Résultat string