diff --git a/dotnet/src/Microsoft.Agents.AI.Workflows/StreamsMessageAttribute.cs b/dotnet/src/Microsoft.Agents.AI.Workflows/StreamsMessageAttribute.cs deleted file mode 100644 index 43f9d59a5f..0000000000 --- a/dotnet/src/Microsoft.Agents.AI.Workflows/StreamsMessageAttribute.cs +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright (c) Microsoft. All rights reserved. - -using System; -using Microsoft.Shared.Diagnostics; - -namespace Microsoft.Agents.AI.Workflows; - -/// -/// This attribute indicates that a message handler streams messages during its execution. -/// -[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)] -public sealed class StreamsMessageAttribute : Attribute -{ - /// - /// The type of the message that the handler yields. - /// - public Type Type { get; } - - /// - /// Indicates that the message handler yields streaming messages during the course of execution. - /// - public StreamsMessageAttribute(Type type) - { - // This attribute is used to mark executors that yield messages. - this.Type = Throw.IfNull(type); - } -}