public static bool IsMove(this DropMatchKind self) { switch (self) { case DropMatchKind.DirectoryMove: case DropMatchKind.FileMove: return(true); default: return(false); } }
public static bool IsCopy(this DropMatchKind self) { switch (self) { case DropMatchKind.DirectoryCopy: case DropMatchKind.FileCopy: return(true); default: return(false); } }
private DropMatch(string path, int index, DropMatchKind kind) { Path = path; Index = index; Kind = kind; }
public static bool IsVirtual(this DropMatchKind self) { return(self == DropMatchKind.FileVirtual); }
public static bool IsFile(this DropMatchKind self) { return(!self.IsDirectory()); }