Click or drag to resize

RegistrySettings(String, String, String) Constructor

Constructs a settings processor under a key in the HKEY_CURRENT_USER Registry hive. The full registry key path is constructed by joining and appending the company, product and version values to create a key that follows common naming conventions for application Registry usage. The full key path format is HKEY_CURRENT_USER\Software\company\product x.y where x and y are the major and minor version numbers.

Namespace: Orthogonal.NSettings
Assembly: Orthogonal.NSettings (in Orthogonal.NSettings.dll) Version: 3.0.5
Syntax
C#
public RegistrySettings(
	string company,
	string product,
	string version
)

Parameters

company  String
The company name to be used in the first part of registry path. If null is specified then the company name is taken from the attribute of the calling assembly and then the entry assembly.
product  String
The product name to be used in the second part of registry path. If null is specified then the product name is taken from the attribute of the calling assembly and then the entry assembly.
version  String
The version name to be appended to the second part of registry path. This value must be in the format major.minor where the major and minor numeric values represent the major and minor product version numbers respectively. If null is specified then the version is calculated from from the version of the calling assembly and then the entry assembly.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if the company or product arguments are null and default values cannot be found in the attributes of the calling or entry assembly. Thrown if the version is not a pair of x.y formatted major and minor version numbers.
See Also