Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

VelocityEngineFactory.PreferFileSystemAccess Property

Set whether to prefer file system access for template loading. File system access enables hot detection of template changes.
If this is enabled, VelocityEngineFactory will try to resolve the specified "resourceLoaderPath" as file system resource.
Default is "true". Turn this off to always load via SpringResourceLoader (i.e. as stream, without hot detection of template changes), which might be necessary if some of your templates reside in a directory while others reside in assembly files.

[Visual Basic]
Public Property PreferFileSystemAccess() As Boolean
   Public Get
   End Get
   Public Set
   End Set
End Property
public bool PreferFileSystemAccess { public get; public set; }

See Also

VelocityEngineFactory Class | Spring.Template.Velocity Namespace