Click or drag to resize

RazorHelperCompilePartial Method

Compile a Razor script as a partial template and return its cache key (used later by @Include)

Namespace: Seal.Helpers
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntax
C#
public static string CompilePartial(
	string script,
	Object model,
	string key,
	DateTime? lastModification
)

Parameters

script  String
 
model  Object
 
key  String
 
lastModification  NullableDateTime
 

Return Value

String
See Also