File: UnifiedSettings\TestModel\UnifiedSettingsOption.cs
Web Access
Project: src\src\VisualStudio\Core\Test.Next\Roslyn.VisualStudio.Next.UnitTests.csproj (Roslyn.VisualStudio.Next.UnitTests)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
using System.Text.Json.Serialization;
 
namespace Roslyn.VisualStudio.Next.UnitTests.UnifiedSettings.TestModel;
 
internal record UnifiedSettingsOption<T> : UnifiedSettingBase
{
    [JsonPropertyName("default")]
    public required T Default { get; init; }
 
    [JsonPropertyName("alternateDefault")]
    public AlternativeDefault<T>? AlternateDefault { get; init; }
}