C# Class CSharpUtils.Templates.TemplateProvider.TemplateProviderMemory

Inheritance: ITemplateProvider
Show file Open project: soywiz/csharputils Class Usage Examples

Public Methods

Method Description
Add ( String Name, Stream Data ) : void
Add ( String Name, String Data, Encoding Encoding = null ) : void
GetTemplate ( string Name ) : Stream
TemplateProviderMemory ( ) : System

Method Details

Add() public method

public Add ( String Name, Stream Data ) : void
Name String
Data Stream
return void

Add() public method

public Add ( String Name, String Data, Encoding Encoding = null ) : void
Name String
Data String
Encoding System.Text.Encoding
return void

GetTemplate() public method

public GetTemplate ( string Name ) : Stream
Name string
return Stream

TemplateProviderMemory() public method

public TemplateProviderMemory ( ) : System
return System