protected static void Open(string file) { if (file is not null) { var editor = FileEditorFactory.GetEditor(); if (Options.OpenProjitems && file.EndsWith(".shproj", StringComparison.InvariantCultureIgnoreCase)) { editor.OpenFile(Path.ChangeExtension(file, ".projitems")); } editor.OpenFile(file); } }
protected override void OnApply(PageApplyEventArgs e) { FileEditorFactory.ClearCache(); base.OnApply(e); }