C# Class Microsoft.Xna.Framework.Utilities.FileHelpers

Afficher le fichier Open project: procfxgen/MGShaderEditor

Méthodes publiques

Свойство Type Description
BackwardSlash char
ForwardSlash char
ForwardSlashString string
NotSeparator char
Separator char

Méthodes publiques

Méthode Description
NormalizeFilePathSeparators ( string name ) : string
ResolveRelativePath ( string filePath, string relativeFile ) : string

Combines the filePath and relativeFile based on relativeFile being a file in the same location as filePath. Relative directory operators (..) are also resolved

Method Details

NormalizeFilePathSeparators() public static méthode

public static NormalizeFilePathSeparators ( string name ) : string
name string
Résultat string

ResolveRelativePath() public static méthode

Combines the filePath and relativeFile based on relativeFile being a file in the same location as filePath. Relative directory operators (..) are also resolved
public static ResolveRelativePath ( string filePath, string relativeFile ) : string
filePath string Path to the file we are starting from
relativeFile string Relative location of another file to resolve the path to
Résultat string

Property Details

BackwardSlash public_oe static_oe property

public static char BackwardSlash
Résultat char

ForwardSlash public_oe static_oe property

public static char ForwardSlash
Résultat char

ForwardSlashString public_oe static_oe property

public static string ForwardSlashString
Résultat string

NotSeparator public_oe static_oe property

public static char NotSeparator
Résultat char

Separator public_oe static_oe property

public static char Separator
Résultat char