public static void ClassCleanup() { _engine.Dispose(); _engine = null; }
/// <summary> /// Initialization of the package; this method is called right after the package is sited, so this /// is the place where you can put all the initialization code that rely on services provided by /// Visual Studio. /// </summary> protected override void Initialize() { base.Initialize(); Instance = this; Options = GetDialogPage(typeof(Options)) as Options; if (Options.WriteDebugMessages) { var pane = GetOutputPane(VSConstants.OutputWindowPaneGuid.DebugPane_guid, "Emmet.NET"); Tracer.Initialize(pane); } if (Directory.Exists(Options.ExtensionsDir)) _engine = new EngineWrapper(Options.ExtensionsDir); else _engine = new EngineWrapper(null); }
public static void ClassInit(TestContext context) { _engine = new EngineWrapper(null); }