C# Class Nibbler.ExtensionConfiguration

Afficher le fichier Open project: dcramer/nibbits-maploader Class Usage Examples

Méthodes publiques

Méthode Description
ExtensionConfiguration ( ) : System
GetCopyPathForExtension ( string extension ) : string

Returns the path to copy the file to for a given extension. Will return a custom path for each OS if specified in extension.xml

IsValidExtension ( string extension ) : bool

Checks if there's an action defined for this extension

ReadConfig ( ) : void

Reads the extension.xml

Method Details

ExtensionConfiguration() public méthode

public ExtensionConfiguration ( ) : System
Résultat System

GetCopyPathForExtension() public méthode

Returns the path to copy the file to for a given extension. Will return a custom path for each OS if specified in extension.xml
public GetCopyPathForExtension ( string extension ) : string
extension string
Résultat string

IsValidExtension() public méthode

Checks if there's an action defined for this extension
public IsValidExtension ( string extension ) : bool
extension string
Résultat bool

ReadConfig() public méthode

Reads the extension.xml
public ReadConfig ( ) : void
Résultat void