adds copyright notice to multiple files and removes unnecessary using directives

This commit is contained in:
tommasodotnet
2026-02-10 13:35:16 +01:00
Unverified
parent 6672805b8e
commit 534efa8873
6 changed files with 8 additions and 6 deletions
@@ -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;
@@ -1,3 +1,5 @@
// Copyright (c) Microsoft. All rights reserved.
using System.ComponentModel;
using Azure.Identity;
using Microsoft.Agents.AI;
@@ -1,3 +1,5 @@
// Copyright (c) Microsoft. All rights reserved.
using Azure.Identity;
using Microsoft.Agents.AI.Hosting;
@@ -1,7 +1,5 @@
// Copyright (c) Microsoft. All rights reserved.
using Aspire.Hosting.AgentFramework;
namespace Aspire.Hosting.AgentFramework.DevUI.UnitTests;
/// <summary>
@@ -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<ArgumentNullException>(
() => AgentFrameworkBuilderExtensions.WithAgentService<IResourceWithEndpoints>(null!, mockAgentService));
() => AgentFrameworkBuilderExtensions.WithAgentService(null!, mockAgentService));
Assert.Equal("builder", exception.ParamName);
}
@@ -1,7 +1,6 @@
// Copyright (c) Microsoft. All rights reserved.
using System;
using Aspire.Hosting.AgentFramework;
using Aspire.Hosting.ApplicationModel;
using Moq;