コード例 #1
0
 private CompilationResult CompileContent(string physicalFileName, ISimpleFileCompiler compiler)
 {
     var fi = new FileInfo(physicalFileName);
     return new CompilationResult(true, compiler.ProcessFileContent(physicalFileName), compiler.OutputMimeType, fi.LastWriteTimeUtc);
 }
コード例 #2
0
 private CompilationResult CompileContent(ICompilerFile physicalFileName, ISimpleFileCompiler compiler)
 {
     return new CompilationResult(true, compiler.ProcessFileContent(physicalFileName), compiler.OutputMimeType, physicalFileName.LastWriteTimeUtc);
 }