Table of Contents

Class FileSfzIncludeResolver

Namespace
NAudio.Sfz
Assembly
NAudio.Core.dll

An ISfzIncludeResolver that reads includes from the file system, resolving relative paths against a base directory.

public sealed class FileSfzIncludeResolver : ISfzIncludeResolver
Inheritance
FileSfzIncludeResolver
Implements
Inherited Members

Constructors

FileSfzIncludeResolver(string)

Creates a resolver rooted at the given base directory.

public FileSfzIncludeResolver(string baseDirectory)

Parameters

baseDirectory string

Methods

Resolve(string)

Returns the text of an included file, or null if it cannot be found. path is the include path as written in the file.

public string Resolve(string path)

Parameters

path string

Returns

string