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

Manages resource (views) loading and processing, calls and is also called by NVelocity to allow recursive expansion of templates
Inheritance: IResourceManager
Exibir arquivo Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
CustomResourceManager ( IViewSourceLoader sourceLoader ) : NVelocity.Runtime.Resource
GetLoaderNameForResource ( string resourceName ) : string
GetResource ( string resourceName, ResourceType resourceType, string encoding ) : Resource
Initialize ( NVelocity.Runtime.IRuntimeServices runtimeServices ) : void

Private Methods

Method Description
InitializeResource ( Resource resource, string resourceName, string encoding ) : void
ProcessResourceWithSensibleExceptionWrapping ( string resourceName, global resource ) : void

Method Details

CustomResourceManager() public method

public CustomResourceManager ( IViewSourceLoader sourceLoader ) : NVelocity.Runtime.Resource
sourceLoader IViewSourceLoader
return NVelocity.Runtime.Resource

GetLoaderNameForResource() public method

public GetLoaderNameForResource ( string resourceName ) : string
resourceName string
return string

GetResource() public method

public GetResource ( string resourceName, ResourceType resourceType, string encoding ) : Resource
resourceName string
resourceType ResourceType
encoding string
return NVelocity.Runtime.Resource.Resource

Initialize() public method

public Initialize ( NVelocity.Runtime.IRuntimeServices runtimeServices ) : void
runtimeServices NVelocity.Runtime.IRuntimeServices
return void