// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNet.FileProviders; namespace Microsoft.AspNet.Mvc.Razor { /// /// Provides methods for compilation of a Razor page. /// public interface ICompilationService { /// /// Compiles content and returns the result of compilation. /// /// The for the Razor file that was compiled. /// The generated C# content to be compiled. /// /// A representing the result of compilation. /// CompilationResult Compile(IFileInfo fileInfo, string compilationContent); } }