Table of Contents

Method IsDirectChildOfAnyDirectory

Namespace
Oscova.Agents.Utils
Assembly
Oscova.Agents.dll

IsDirectChildOfAnyDirectory(string, IEnumerable<string>)

Returns true when relativePath is a direct file child of any supplied top-level directory name.

public static bool IsDirectChildOfAnyDirectory(string relativePath, IEnumerable<string> directoryNames)

Parameters

relativePath string
directoryNames IEnumerable<string>

Returns

bool