// Copyright (c) Microsoft. All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.Agents.AI.Workflows;
///
/// Describes the protocol for communication with a or .
///
public class ProtocolDescriptor
{
///
/// Get the collection of types accepted by the or .
///
public IEnumerable Accepts { get; }
internal ProtocolDescriptor(IEnumerable acceptedTypes)
{
this.Accepts = acceptedTypes.ToArray();
}
}