ITemplateEngineHost Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets host-specific properties, loggers and provides access to file system.
public interface ITemplateEngineHost
public interface ITemplateEngineHost : IDisposable
type ITemplateEngineHost = interface
type ITemplateEngineHost = interface
interface IDisposable
Public Interface ITemplateEngineHost
Public Interface ITemplateEngineHost
Implements IDisposable
- Derived
- Implements
Built |
Gets the list of built-in components provided by the host. |
Fallback |
Gets the fallback names that will be probed to locate the host specific template settings file. The primary host template config name is HostIdentifier. |
File |
Provides access to file system. Depending on the settings, the file system can be physical or in-memory or both depending on the file path. To virtualize certain file path, use VirtualizeDirectory(String). |
Host |
Gets the identifier of the host. |
Logger |
Gets default logger for given template engine host. |
Logger |
Gets logger factory for given template engine host. |
Version |
Gets the version of the host. |
Log |
|
Log |
|
Log |
|
On |
|
On |
|
On |
|
On |
|
On |
Obsolete.
Action to be done when potentially destructive changes on template instantiation are detected. The host can implement it as needed: prompt user, show error, etc. In case template instantiation should proceed, the method should return true. In case template instantiation should be aborted, the method should return false. |
On |
|
Try |
Tries to get default host parameter by its name. |
Virtualize |
Virtualizes access to the |
Produkt | Verzie |
---|---|
Template Engine | 6.0.100, 7.0.100 |