RoslynCompilationService should set the generated code when compilation succeeds

Fixes #895
Sure - same question stands... Why?

-----Original Message-----
From: "Pranav K" <notifications@github.com>
Sent: ‎8/‎18/‎2014 2:15 PM
To: "aspnet/Mvc" <Mvc@noreply.github.com>
Cc: "Yishai Galatzer" <yishai_galatzer@yahoo.com>
Subject: Re: [Mvc] RoslynCompilationService should set the generated code whencompilation succeeds (#993)

In src/Microsoft.AspNet.Mvc.Razor/Compilation/UncachedCompilationResult.cs:
> @@ -0,0 +1,33 @@
> +﻿// 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 System;
> +
> +namespace Microsoft.AspNet.Mvc.Razor
> +{
> +    /// <summary>
> +    /// Represents the result of compilation that does not come from the <see cref="CompilerCache" />.
> +    /// </summary>
> +    public class UncachedCompilationResult : CompilationResult
> +    {
> +        private UncachedCompilationResult()
It follows the same pattern we have for CompilationResult - https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNet.Mvc.Razor/Compilation/CompilationResult.cs#L90. 
—
Reply to this email directly or view it on GitHub.