C# Class Castle.MonoRail.Framework.Views.NVelocity.ResourceLoaderAdapter

Inheritance: NVelocity.Runtime.Resource.Loader.ResourceLoader
显示文件 Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
GetLastModified ( NVelocity.Runtime.Resource.Resource resource ) : long
GetResourceStream ( string source ) : Stream
Init ( ExtendedProperties configuration ) : void
IsSourceModified ( NVelocity.Runtime.Resource.Resource resource ) : bool
ResourceLoaderAdapter ( IViewSourceLoader sourceLoader )

Private Methods

Method Description
GetViewSource ( String templateName ) : IViewSource

Method Details

GetLastModified() public method

public GetLastModified ( NVelocity.Runtime.Resource.Resource resource ) : long
resource NVelocity.Runtime.Resource.Resource
return long

GetResourceStream() public method

public GetResourceStream ( string source ) : Stream
source string
return Stream

Init() public method

public Init ( ExtendedProperties configuration ) : void
configuration Commons.Collections.ExtendedProperties
return void

IsSourceModified() public method

public IsSourceModified ( NVelocity.Runtime.Resource.Resource resource ) : bool
resource NVelocity.Runtime.Resource.Resource
return bool

ResourceLoaderAdapter() public method

public ResourceLoaderAdapter ( IViewSourceLoader sourceLoader )
sourceLoader IViewSourceLoader