예제 #1
0
 public static void FormatDocument(this DTE dte, Options.Profile profile)
 {
     // Profile passed in to ensure the check for running this command is always performed
     if (profile?.General.AttemptAutomaticDocumentFormatting == true)
     {
         dte.ExecuteCommand("Edit.FormatDocument");
     }
 }
 public void SetDataContext(Profile profile)
 {
     this.ProfileConfig.SetDataContextAndHost(profile, this);
 }