RazorEngine


RequireNamespacesAttribute

Defined in RazorEngine.dll.

Allows base templates to define require template imports when generating templates.

Constructors

ConstructorDescription
new(namespaces)
Signature: (namespaces:string []) -> unit

Initialises a new instance of RequireNamespacesAttribute.

Instance members

Instance memberDescription
Namespaces()
Signature: unit -> unit

Gets the set of required namespace imports.

Fork me on GitHub