예제 #1
0
 internal static EnumerateDocumentsFlag GetDesignerDocumentFlagFromSaveOption(__VSRDTSAVEOPTIONS saveOption)
 {
     // if ForceSave, make sure the primary document is in the list even if it is not dirty
     return(((saveOption & __VSRDTSAVEOPTIONS.RDTSAVEOPT_ForceSave) != 0)
                ? EnumerateDocumentsFlag.DirtyOrPrimary
                : EnumerateDocumentsFlag.DirtyDocuments);
 }
예제 #2
0
 internal static EnumerateDocumentsFlag GetDesignerDocumentFlagFromSaveOption(__VSRDTSAVEOPTIONS saveOption) {
   // if ForceSave, make sure the primary document is in the list even if it is not dirty
   return ((saveOption & __VSRDTSAVEOPTIONS.RDTSAVEOPT_ForceSave) != 0)
              ? EnumerateDocumentsFlag.DirtyOrPrimary
              : EnumerateDocumentsFlag.DirtyDocuments;
 }