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

using System.Text.Json.Serialization;

namespace Microsoft.TemplateSearch.Common
{
    [Obsolete("The class is deprecated. Use TemplateSearchCache instead to create search cache data.")]
    internal class TemplateIdentificationEntry
    {
        internal TemplateIdentificationEntry(string identity, string? groupIdentity)
        {
            Identity = identity;
            GroupIdentity = groupIdentity;
        }

        [JsonInclude]
        internal string Identity { get; }

        [JsonInclude]
        internal string? GroupIdentity { get; }
    }
}