Skip to content

LayoutFilePermissions.ByPath method

Builds a dictionary of the permission of each file path. When a path is declared more than once, it is public if any of the declarations is public, otherwise the permissions are combined with "|". Null or empty permissions are kept as "DENY".

public static IReadOnlyDictionary<string, string> ByPath(
    IEnumerable<(string? Path, string? Permission)> files)
parameter description
files The file paths and their permissions

See Also