RazorEngine


NameOnlyTemplateKey

Defined in RazorEngine.dll.
A simple ITemplateKey implementation inheriting from BaseTemplateKey. This implementation assumes that the template-names are unique and returns the name as unique key. (So this implementation is used by DelegateTemplateManager and WrapperTemplateManager.

Constructors

ConstructorDescription
new(name, resolveType, context)
Signature: (name:string * resolveType:ResolveType * context:ITemplateKey) -> unit
Initializes a new instance of the NameOnlyTemplateKey class.

Instance members

Instance memberDescription
Equals(obj)
Signature: obj:obj -> bool
Modifiers: abstract
Checks if the names are equal.
GetHashCode()
Signature: unit -> int
Modifiers: abstract
Returns a hashcode for the current instance.
GetUniqueKeyString()
Signature: unit -> string
Modifiers: abstract
Returns the name.
Fork me on GitHub