示例#1
0
 /// <summary>
 /// Initializes the <see cref="VSContext"/> class.
 /// </summary>
 static VSContext()
 {
     InitializeDTE();
     DesignModeCacheInvalidator         = new CacheInvalidator();
     InteractiveExecutionInitialization = new InteractiveExecutionInitialization(new VSInteractiveExecutionBehavior(), DesignModeCacheInvalidator);
     DebuggerEnteredDesignMode         += () => DesignModeCacheInvalidator.InvalidateCache();
 }