Exemple #1
0
 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);
     }
 }
Exemple #2
0
 protected override void OnApply(PageApplyEventArgs e)
 {
     FileEditorFactory.ClearCache();
     base.OnApply(e);
 }