Skip to content

Class library to query the Windows registry, with optional filtering and possible to get a .REG file.

Notifications You must be signed in to change notification settings

Guson/Query-Registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project icon

Query-Registry

Class library to query the Windows registry, with optional filtering and possible to get a .REG file. The library contains to main classes QueryRegistryKey, OpenRegistryKey, and several help classes and two WPF controls.

Main classes

The two main classes QueryRegistryKey, OpenRegistryKey, contains all logic.

QueryRegistryKey

The QueryRegistryKey is used to query the registry, with optional filtering.

OpenRegistryKey

The OpenRegistryKey is a static class to open a registry key.

Help classes

The ItemCollection.cs encapsulate the List class, and is used in the item classes, ErrorItem.cs, FilterItem.cs, QueryItem.cs, ResultItem.cs. The GlobalSuppressions.cs is only for Code Analysis.

Controls

The RootKeyComboBox is a combo box for the RootKeyType enumeration. The RegisterKeyItem is a user control with a root key and key name.

Code documentation

The XML documentation is used by a Sandcastle Help File Builder project in the doc directory.

Task list

  • Add a [ContractInvariantMethod] to ItemCollection.cs, to require non null items.
  • Clean unused/unnecessary code contacts
  • Fix code analysis warnings
  • Add unit test and test the user controls
  • Add NUnit test
  • Add class diagram with the main classes
  • Add class diagram for all help classes
  • Add $(PubDirectory) in BeforeBuild.targets
  • Add a immutable ReadOnlyDictionary<TKey, TValue> class

About

Class library to query the Windows registry, with optional filtering and possible to get a .REG file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published