Empeld
Empeld plugin documentation.
pluginbase.Dependencies.IResourceResolver Interface Reference

A dependency to locate resources local to a plugin More...

Public Member Functions

string Resolve (string resource)
 Resolves the data. More...
 
string Resolve (string module, string resource)
 Resolve the specified module and resource. More...
 
Stream OpenRead (string module, string resource)
 Opens a file for reading More...
 
Stream OpenRead (string resource)
 Opens a resource for reading More...
 

Detailed Description

A dependency to locate resources local to a plugin

Attribute: Injectable

Member Function Documentation

◆ OpenRead() [1/2]

Stream pluginbase.Dependencies.IResourceResolver.OpenRead ( string  module,
string  resource 
)

Opens a file for reading

Returns
The read.
Parameters
moduleModule.
resourceResource.

◆ OpenRead() [2/2]

Stream pluginbase.Dependencies.IResourceResolver.OpenRead ( string  resource)

Opens a resource for reading

Returns
The read.
Parameters
resourceResource.

◆ Resolve() [1/2]

string pluginbase.Dependencies.IResourceResolver.Resolve ( string  resource)

Resolves the data.

Returns
The data.
Parameters
resourceBasepath.

◆ Resolve() [2/2]

string pluginbase.Dependencies.IResourceResolver.Resolve ( string  module,
string  resource 
)

Resolve the specified module and resource.

Parameters
moduleModule.
resourceResource.

The documentation for this interface was generated from the following file: