Table of Contents

Class DataSourcePaths

Namespace
ReportWright.Data
Assembly
ReportWright.Data.Abstractions.dll

Keeps a file-backed data source inside the directory the host resolved it to. A report's command text names a file; it is untrusted, so a rooted path, a drive, a parent segment or anything that resolves outside the base directory is refused before the file system is touched.

public static class DataSourcePaths
Inheritance
DataSourcePaths
Inherited Members

Methods

ResolveUnder(string?, string?, string)

Resolves a relative path under a base directory, or refuses it.