static bool ShouldAddFile(ProjectFileEventInfo info)
        {
            const ProjectItemFlags ignoreFlags = ProjectItemFlags.DontPersist | ProjectItemFlags.Hidden;

            return((info.ProjectFile.Flags & ignoreFlags) != ignoreFlags);
        }
Пример #2
0
 protected void SetFlags(ProjectItemFlags flags, bool isSet)
 {
     int num = this._state[StateFlags];
     this._state[StateFlags] = isSet ? (num | (int)flags) : (num & ~(int)flags); //TODO: �ֶ��޸�
     //this._state[StateFlags] = isSet ? (num | flags) : (num & ~flags);
 }