| File: Model\ObjectConstructionStrategy.cs | Web Access |
| Project: src\runtime\src\libraries\System.Text.Json\gen\System.Text.Json.SourceGeneration.Roslyn4.4.csproj (System.Text.Json.SourceGeneration) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Text.Json.SourceGeneration { /// <summary> /// Indicates which kind of constructor an object is to be created with. /// </summary> public enum ObjectConstructionStrategy { /// <summary> /// Object is abstract or an interface. /// </summary> NotApplicable = 0, /// <summary> /// Object should be created with a parameterless constructor. /// </summary> ParameterlessConstructor = 1, /// <summary> /// Object should be created with a parameterized constructor. /// </summary> ParameterizedConstructor = 2, } }