C# Class SpriteEditor.FileAssociationHelper

Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Méthode Description
Associate ( ) : void

Associates the currently running executable with the file Extension

CheckStatus ( ) : void

Refreshes the IsEditor, IsOpener, CurrentEditor, and CurrentOpener properties by checking the Registry.

FileAssociationHelper ( ) : System

Until the Exception property is set, the IsEditor, IsOpener, CurrentEditor, and CurrentOpener properties will be initialized to default values.

FileAssociationHelper ( string extension ) : System

Private Methods

Méthode Description
CheckAssociation ( RegistryKey associationKey ) : bool
GetAssemblyCommand ( ) : string
GetAssociationKey ( string subKey, string associationKey ) : RegistryKey
GetCreateSubKey ( RegistryKey parentKey, string subkeyPath ) : RegistryKey
GetCreateSubKey ( RegistryKey parentKey, string subkeyPath, string valueIfNull ) : RegistryKey
Refresh ( RegistryKey key, bool &_isExe, string &_currentExe ) : void

Method Details

Associate() public méthode

Associates the currently running executable with the file Extension
public Associate ( ) : void
Résultat void

CheckStatus() public méthode

Refreshes the IsEditor, IsOpener, CurrentEditor, and CurrentOpener properties by checking the Registry.
public CheckStatus ( ) : void
Résultat void

FileAssociationHelper() public méthode

Until the Exception property is set, the IsEditor, IsOpener, CurrentEditor, and CurrentOpener properties will be initialized to default values.
public FileAssociationHelper ( ) : System
Résultat System

FileAssociationHelper() public méthode

public FileAssociationHelper ( string extension ) : System
extension string
Résultat System