GetInstance() 정적인 개인적인 메소드

Gets the single instance for the current process bitness.
static private GetInstance ( ) : RegistryView
리턴 RegistryView
예제 #1
0
        public void SingletonMatchesArchitecture()
        {
            var view = RegistryView.GetInstance();

            Assert.AreEqual <bool>(8 == IntPtr.Size, view.Is64Bit);
        }
예제 #2
0
 public static void Initialize(TestContext context)
 {
     // Initialize to avoid showing perf hit to individual tests.
     RegistryView.GetInstance();
 }