C# Class Castle.Core.Resource.StaticContentResource

Adapts a static string content as an IResource
Inheritance: AbstractResource
Mostrar archivo Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
CreateRelative ( String relativePath ) : IResource
Dispose ( ) : void
GetStreamReader ( ) : TextReader
GetStreamReader ( Encoding encoding ) : TextReader
StaticContentResource ( String contents ) : System

Method Details

CreateRelative() public method

public CreateRelative ( String relativePath ) : IResource
relativePath String
return IResource

Dispose() public method

public Dispose ( ) : void
return void

GetStreamReader() public method

public GetStreamReader ( ) : TextReader
return TextReader

GetStreamReader() public method

public GetStreamReader ( Encoding encoding ) : TextReader
encoding System.Text.Encoding
return TextReader

StaticContentResource() public method

public StaticContentResource ( String contents ) : System
contents String
return System