Skip to content

Commit

Permalink
revert namespace change
Browse files Browse the repository at this point in the history
  • Loading branch information
kostapetan committed Dec 3, 2024
1 parent d760686 commit 10f9846
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
using Octokit.Webhooks.Events.IssueComment;
using Octokit.Webhooks.Events.Issues;
using Octokit.Webhooks.Models;
using CloudNative.CloudEvents.V1;

namespace DevTeam.Backend;

Expand Down
1 change: 0 additions & 1 deletion dotnet/src/Microsoft.AutoGen/Abstractions/IAgentBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// IAgentBase.cs

using Google.Protobuf;
using CloudNative.CloudEvents.V1;

namespace Microsoft.AutoGen.Abstractions;

Expand Down
1 change: 0 additions & 1 deletion dotnet/src/Microsoft.AutoGen/Abstractions/IAgentRuntime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// IAgentRuntime.cs

using System.Diagnostics;
using CloudNative.CloudEvents.V1;

namespace Microsoft.AutoGen.Abstractions;

Expand Down
2 changes: 0 additions & 2 deletions dotnet/src/Microsoft.AutoGen/Abstractions/IAgentWorker.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// IAgentWorker.cs
using CloudNative.CloudEvents.V1;

namespace Microsoft.AutoGen.Abstractions;

public interface IAgentWorker
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

using Google.Protobuf;
using Google.Protobuf.WellKnownTypes;
using CloudNative.CloudEvents.V1;

namespace Microsoft.AutoGen.Abstractions;

Expand Down
1 change: 0 additions & 1 deletion dotnet/src/Microsoft.AutoGen/Agents/AgentBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
using Google.Protobuf;
using Microsoft.AutoGen.Abstractions;
using Microsoft.Extensions.Logging;
using CloudNative.CloudEvents.V1;

namespace Microsoft.AutoGen.Agents;

Expand Down
3 changes: 2 additions & 1 deletion dotnet/src/Microsoft.AutoGen/Agents/AgentBaseExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

using System.Diagnostics;
using Google.Protobuf.Collections;
using static Microsoft.AutoGen.Abstractions.CloudEvent.Types;

namespace Microsoft.AutoGen.Agents;

Expand Down Expand Up @@ -58,7 +59,7 @@ public static class AgentBaseExtensions
return activity;
}

public static Activity? ExtractActivity(this AgentBase agent, string activityName, MapField<string, CloudNative.CloudEvents.V1.CloudEvent.Types.CloudEventAttributeValue> metadata)
public static Activity? ExtractActivity(this AgentBase agent, string activityName, MapField<string, CloudEventAttributeValue> metadata)
{
return ExtractActivity(agent, activityName, metadata.ToDictionary(kvp => kvp.Key, kvp => kvp.Value.CeString));
}
Expand Down
4 changes: 2 additions & 2 deletions dotnet/src/Microsoft.AutoGen/Agents/AgentRuntime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

using System.Diagnostics;
using Microsoft.AutoGen.Abstractions;
using static Microsoft.AutoGen.Abstractions.CloudEvent.Types;
using Microsoft.Extensions.Logging;
using CloudNative.CloudEvents.V1;

using Google.Protobuf.Collections;
using static CloudNative.CloudEvents.V1.CloudEvent.Types;

namespace Microsoft.AutoGen.Agents;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using CloudNative.CloudEvents.V1;

namespace Microsoft.AutoGen.Agents;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using CloudNative.CloudEvents.V1;

namespace Microsoft.AutoGen.Agents;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Microsoft.AutoGen.Abstractions;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using CloudNative.CloudEvents.V1;

namespace Microsoft.AutoGen.Agents;

Expand Down
1 change: 0 additions & 1 deletion dotnet/src/Microsoft.AutoGen/Agents/Services/IGateway.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// IGateway.cs
using Microsoft.AutoGen.Abstractions;
using CloudNative.CloudEvents.V1;

namespace Microsoft.AutoGen.Agents;

Expand Down

0 comments on commit 10f9846

Please sign in to comment.