Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
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

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

Opens a file for reading

Returns
The read.
Parameters
moduleModule.
resourceResource.
Stream pluginbase.Dependencies.IResourceResolver.OpenRead ( string  resource)

Opens a resource for reading

Returns
The read.
Parameters
resourceResource.
string pluginbase.Dependencies.IResourceResolver.Resolve ( string  resource)

Resolves the data.

Returns
The data.
Parameters
resourceBasepath.
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: