File: Settings\ITemplateInfoHostJsonCache.cs
Web Access
Project: src\src\sdk\src\TemplateEngine\Microsoft.TemplateEngine.Edge\Microsoft.TemplateEngine.Edge.csproj (Microsoft.TemplateEngine.Edge)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using Microsoft.TemplateEngine.Abstractions;

namespace Microsoft.TemplateEngine.Edge.Settings
{
    /// <summary>
    /// Extension interface of <see cref="ITemplateInfo"/> which stores .host.json data in cache so host doesn't need to re-load it from .nupkg every time.
    /// </summary>
    public interface ITemplateInfoHostJsonCache
    {
        /// <summary>
        /// Full content of .host.json file in JSON format.
        /// </summary>
        string? HostData { get; }
    }
}