Exemple #1
0
 /// <summary>
 ///     Returns a value indicating whether the specified flags indicates that
 ///     the node is a folder.
 /// </summary>
 public static bool IsFolder(this ProjectTreeFlags flags)
 {
     return(flags.HasFlag(ProjectTreeFlags.Common.Folder));
 }
Exemple #2
0
 /// <summary>
 ///     Returns a value indicating whether the specified flags has the flag <see cref="ProjectTreeFlags.Common.ProjectRoot"/>.
 /// </summary>
 public static bool IsProjectRoot(this ProjectTreeFlags flags)
 {
     return(flags.HasFlag(ProjectTreeFlags.Common.ProjectRoot));
 }
Exemple #3
0
 /// <summary>
 ///     Returns a value indicating whether the specified flags indicates that
 ///     the node is included as part of the project.
 /// </summary>
 public static bool IsIncludedInProject(this ProjectTreeFlags flags)
 {
     return(!flags.HasFlag(ProjectTreeFlags.Common.IncludeInProjectCandidate));
 }
 /// <summary>
 ///     Returns a value indicating whether the specified flags indicates that
 ///     the file or folder is missing on disk.
 /// </summary>
 public static bool IsMissingOnDisk(this ProjectTreeFlags flags)
 {
     return(!flags.HasFlag(ProjectTreeFlags.Common.FileSystemEntity));
 }