<PackageReference Include="System.ClientModel" Version="1.2.1" />

PersistableModelProxyAttribute

Attribute that indicates a proxy Type to use for reading a model. The proxy Type must implement IPersistableModel<T> and have a public or non-public parameterless constructor.
using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; namespace System.ClientModel.Primitives { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] [AttributeUsage(AttributeTargets.Class)] public sealed class PersistableModelProxyAttribute : Attribute { [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers((System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes)7)] public Type ProxyType { get; } public PersistableModelProxyAttribute([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers((System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes)7)] Type proxyType) { ProxyType = proxyType; } } }