C# Класс SpriteEditor.FileAssociationHelper

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Associate() публичный Метод

Associates the currently running executable with the file Extension
public Associate ( ) : void
Результат void

CheckStatus() публичный Метод

Refreshes the IsEditor, IsOpener, CurrentEditor, and CurrentOpener properties by checking the Registry.
public CheckStatus ( ) : void
Результат void

FileAssociationHelper() публичный Метод

Until the Exception property is set, the IsEditor, IsOpener, CurrentEditor, and CurrentOpener properties will be initialized to default values.
public FileAssociationHelper ( ) : System
Результат System

FileAssociationHelper() публичный Метод

public FileAssociationHelper ( string extension ) : System
extension string
Результат System