FileSystem.ReadFile

FileSystem.ReadFile method

Create a stream for reading dependencies.

public abstract Stream ReadFile(string fileName, IOConfig options)
ParameterTypeDescription
fileNameString
optionsIOConfig

Return Value

Stream for reading the file.

Exceptions

exceptioncondition
FileNotFoundExceptionThe implementation throws this exception when failed to open the file for reading.

See Also