From 534efa8873efb93bd93f90597697bd94c695b88c Mon Sep 17 00:00:00 2001 From: tommasodotnet Date: Tue, 10 Feb 2026 13:35:16 +0100 Subject: [PATCH] adds copyright notice to multiple files and removes unnecessary using directives --- .../DevUIIntegration.ServiceDefaults/Extensions.cs | 4 +++- dotnet/samples/DevUIIntegration/EditorAgent/Program.cs | 2 ++ dotnet/samples/DevUIIntegration/WriterAgent/Program.cs | 2 ++ .../AgentEntityInfoTests.cs | 2 -- .../AgentFrameworkBuilderExtensionsTests.cs | 3 +-- .../AgentServiceAnnotationTests.cs | 1 - 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/dotnet/samples/DevUIIntegration/DevUIIntegration.ServiceDefaults/Extensions.cs b/dotnet/samples/DevUIIntegration/DevUIIntegration.ServiceDefaults/Extensions.cs index 168008cfd9..504bc71621 100644 --- a/dotnet/samples/DevUIIntegration/DevUIIntegration.ServiceDefaults/Extensions.cs +++ b/dotnet/samples/DevUIIntegration/DevUIIntegration.ServiceDefaults/Extensions.cs @@ -1,4 +1,6 @@ -using Microsoft.AspNetCore.Builder; +// Copyright (c) Microsoft. All rights reserved. + +using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics.HealthChecks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Diagnostics.HealthChecks; diff --git a/dotnet/samples/DevUIIntegration/EditorAgent/Program.cs b/dotnet/samples/DevUIIntegration/EditorAgent/Program.cs index 1a6e042273..9efc666953 100644 --- a/dotnet/samples/DevUIIntegration/EditorAgent/Program.cs +++ b/dotnet/samples/DevUIIntegration/EditorAgent/Program.cs @@ -1,3 +1,5 @@ +// Copyright (c) Microsoft. All rights reserved. + using System.ComponentModel; using Azure.Identity; using Microsoft.Agents.AI; diff --git a/dotnet/samples/DevUIIntegration/WriterAgent/Program.cs b/dotnet/samples/DevUIIntegration/WriterAgent/Program.cs index 19cfc08768..70d1a757be 100644 --- a/dotnet/samples/DevUIIntegration/WriterAgent/Program.cs +++ b/dotnet/samples/DevUIIntegration/WriterAgent/Program.cs @@ -1,3 +1,5 @@ +// Copyright (c) Microsoft. All rights reserved. + using Azure.Identity; using Microsoft.Agents.AI.Hosting; diff --git a/dotnet/tests/Aspire.Hosting.AgentFramework.DevUI.UnitTests/AgentEntityInfoTests.cs b/dotnet/tests/Aspire.Hosting.AgentFramework.DevUI.UnitTests/AgentEntityInfoTests.cs index c6242dd11a..84273d6891 100644 --- a/dotnet/tests/Aspire.Hosting.AgentFramework.DevUI.UnitTests/AgentEntityInfoTests.cs +++ b/dotnet/tests/Aspire.Hosting.AgentFramework.DevUI.UnitTests/AgentEntityInfoTests.cs @@ -1,7 +1,5 @@ // Copyright (c) Microsoft. All rights reserved. -using Aspire.Hosting.AgentFramework; - namespace Aspire.Hosting.AgentFramework.DevUI.UnitTests; /// diff --git a/dotnet/tests/Aspire.Hosting.AgentFramework.DevUI.UnitTests/AgentFrameworkBuilderExtensionsTests.cs b/dotnet/tests/Aspire.Hosting.AgentFramework.DevUI.UnitTests/AgentFrameworkBuilderExtensionsTests.cs index e9af778ac4..21699e3d64 100644 --- a/dotnet/tests/Aspire.Hosting.AgentFramework.DevUI.UnitTests/AgentFrameworkBuilderExtensionsTests.cs +++ b/dotnet/tests/Aspire.Hosting.AgentFramework.DevUI.UnitTests/AgentFrameworkBuilderExtensionsTests.cs @@ -2,7 +2,6 @@ using System; using System.Linq; -using Aspire.Hosting.AgentFramework; using Aspire.Hosting.ApplicationModel; using Moq; @@ -130,7 +129,7 @@ public class AgentFrameworkBuilderExtensionsTests // Act & Assert var exception = Assert.Throws( - () => AgentFrameworkBuilderExtensions.WithAgentService(null!, mockAgentService)); + () => AgentFrameworkBuilderExtensions.WithAgentService(null!, mockAgentService)); Assert.Equal("builder", exception.ParamName); } diff --git a/dotnet/tests/Aspire.Hosting.AgentFramework.DevUI.UnitTests/AgentServiceAnnotationTests.cs b/dotnet/tests/Aspire.Hosting.AgentFramework.DevUI.UnitTests/AgentServiceAnnotationTests.cs index 4410af4bc8..0e297c56bf 100644 --- a/dotnet/tests/Aspire.Hosting.AgentFramework.DevUI.UnitTests/AgentServiceAnnotationTests.cs +++ b/dotnet/tests/Aspire.Hosting.AgentFramework.DevUI.UnitTests/AgentServiceAnnotationTests.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft. All rights reserved. using System; -using Aspire.Hosting.AgentFramework; using Aspire.Hosting.ApplicationModel; using Moq;