RazorHelperCompilePartial Method |
Compile a Razor script as a partial template and return its cache key (used later by @Include)
Namespace: Seal.HelpersAssembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntaxpublic 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