anchor.diff:  ﻿[<AutoOpen>]
  +/// Contains function which allow to retrieve information from the registry.
   module Fake.RegistryHelper
   
   open Microsoft.Win32
   
  +/// Registry base keys.
   type RegistryBaseKey =
   | HKEYLocalMachine
   | HKEYClassesRoot
  
positive.code: | HKEYCurrentConfig -> Registry.CurrentConfig
  | HKEYPerformanceData -> Registry.PerformanceData
  
  /// Gets a registy key
  let getRegistryKey baseKey subKey = (getKey baseKey).OpenSubKey subKey
  
  /// Gets a registy value as string
  
negative.code: | HKEYPerformanceData
  
  /// Maps the RegistryBaseKey to a RegistryKey
  /// [omit]
  let getKey = function
  | HKEYLocalMachine -> Registry.LocalMachine
  | HKEYClassesRoot -> Registry.ClassesRoot
  