File: Circuits\ComponentDescriptor.cs
Web Access
Project: src\src\Components\Server\src\Microsoft.AspNetCore.Components.Server.csproj (Microsoft.AspNetCore.Components.Server)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Components.Server;
 
internal sealed class ComponentDescriptor
{
    public Type ComponentType { get; set; }
 
    public ParameterView Parameters { get; set; }
 
    public int Sequence { get; set; }
 
    public void Deconstruct(out Type componentType, out ParameterView parameters, out int sequence) =>
        (componentType, sequence, parameters) = (ComponentType, Sequence, Parameters);
}