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); }
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; }