C# 클래스 Nexus.Client.Settings.GeneralSettingsGroup

The group of general settings.
상속: SettingsGroup
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
AddFileAssociation ( string p_strExtension, string p_strDescription ) : void

Add a possible client programme file association.

GeneralSettingsGroup ( IEnvironmentInfo p_eifEnvironmentInfo ) : System

A simple constructor that initializes the object with the given dependencies.

Load ( ) : void

Loads the grouped setting values from the persistent store.

Save ( ) : bool

Persists the grouped setting values to the persistent store.

보호된 메소드들

메소드 설명
AssociateFile ( FileAssociationSetting p_fasFileAssociation ) : void

Associates the specifed file type with the client.

AssociateUrl ( string p_strUrlProtocol, string p_strDescription ) : void

Associates the specifed URL protocol with the client.

IsAssociated ( string p_strExtension ) : bool

Determines if the specified file type is associated with the client.

IsUrlAssociated ( string p_strUrlProtocol ) : bool

Determines if the specified URL protocol is associated with the client.

UnassociateFile ( FileAssociationSetting p_fasFileAssociation ) : void

Removes the association of the specifed file type with the client.

UnassociateUrl ( string p_strUrlProtocol ) : void

Removes the association of the specifed URL protocol with the client.

비공개 메소드들

메소드 설명
AddShellExtension ( string p_strExtension ) : void

Adds a shell extension for the file type represented by the specified key.

RemoveShellExtension ( string p_strExtension ) : void

Removes a shell extension for the file type represented by the specified key.

메소드 상세

AddFileAssociation() 공개 메소드

Add a possible client programme file association.
public AddFileAssociation ( string p_strExtension, string p_strDescription ) : void
p_strExtension string The extension to allow to be associated with the client.
p_strDescription string A description of the file type.
리턴 void

AssociateFile() 보호된 메소드

Associates the specifed file type with the client.
Thrown if the user does not have sufficient priviledges /// to create the association.
protected AssociateFile ( FileAssociationSetting p_fasFileAssociation ) : void
p_fasFileAssociation FileAssociationSetting The description of the file type association to create.
리턴 void

AssociateUrl() 보호된 메소드

Associates the specifed URL protocol with the client.
Thrown if the user does not have sufficient priviledges /// to create the association.
protected AssociateUrl ( string p_strUrlProtocol, string p_strDescription ) : void
p_strUrlProtocol string The URL protocol for which to create an association.
p_strDescription string The description of the URL protocol.
리턴 void

GeneralSettingsGroup() 공개 메소드

A simple constructor that initializes the object with the given dependencies.
public GeneralSettingsGroup ( IEnvironmentInfo p_eifEnvironmentInfo ) : System
p_eifEnvironmentInfo IEnvironmentInfo The application's envrionment info.
리턴 System

IsAssociated() 보호된 메소드

Determines if the specified file type is associated with the client.
protected IsAssociated ( string p_strExtension ) : bool
p_strExtension string The extension of the file type for which it is to be determined /// whether it is associated with the client.
리턴 bool

IsUrlAssociated() 보호된 메소드

Determines if the specified URL protocol is associated with the client.
protected IsUrlAssociated ( string p_strUrlProtocol ) : bool
p_strUrlProtocol string The protocol of the URL for which it is to be determined /// whether it is associated with the client.
리턴 bool

Load() 공개 메소드

Loads the grouped setting values from the persistent store.
public Load ( ) : void
리턴 void

Save() 공개 메소드

Persists the grouped setting values to the persistent store.
public Save ( ) : bool
리턴 bool

UnassociateFile() 보호된 메소드

Removes the association of the specifed file type with the client.
Thrown if the user does not have sufficient priviledges /// to remove the association.
protected UnassociateFile ( FileAssociationSetting p_fasFileAssociation ) : void
p_fasFileAssociation FileAssociationSetting The description of the file type association to remove.
리턴 void

UnassociateUrl() 보호된 메소드

Removes the association of the specifed URL protocol with the client.
Thrown if the user does not have sufficient priviledges /// to remove the association.
protected UnassociateUrl ( string p_strUrlProtocol ) : void
p_strUrlProtocol string The URL protocol for which to remove the association.
리턴 void