PathPrefix Property

HttpServer.dll

A prefix for all files rendered.

Namespace:  HttpServer.Rendering
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public string PathPrefix { get; set; }
Visual Basic (Declaration)
Public Property PathPrefix As String
Visual C++
public:
property String^ PathPrefix {
	String^ get ();
	void set (String^ value);
}

Remarks

PathPrefix may not be null, only string.EmptyLanguageNode.

Examples

// will look after template in Environment.CurrentDirectory + "views\\<ControllerName>\\templateName.*" mgr.PathPrefix = "views\\";

See Also