Skip to content

Commit 10f9846

Browse files
committed
revert namespace change
1 parent d760686 commit 10f9846

File tree

12 files changed

+4
-14
lines changed

12 files changed

+4
-14
lines changed

dotnet/samples/dev-team/DevTeam.Backend/Services/GithubWebHookProcessor.cs

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
using Octokit.Webhooks.Events.IssueComment;
1111
using Octokit.Webhooks.Events.Issues;
1212
using Octokit.Webhooks.Models;
13-
using CloudNative.CloudEvents.V1;
1413

1514
namespace DevTeam.Backend;
1615

dotnet/src/Microsoft.AutoGen/Abstractions/IAgentBase.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// IAgentBase.cs
33

44
using Google.Protobuf;
5-
using CloudNative.CloudEvents.V1;
65

76
namespace Microsoft.AutoGen.Abstractions;
87

dotnet/src/Microsoft.AutoGen/Abstractions/IAgentRuntime.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// IAgentRuntime.cs
33

44
using System.Diagnostics;
5-
using CloudNative.CloudEvents.V1;
65

76
namespace Microsoft.AutoGen.Abstractions;
87

dotnet/src/Microsoft.AutoGen/Abstractions/IAgentWorker.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// IAgentWorker.cs
3-
using CloudNative.CloudEvents.V1;
4-
53
namespace Microsoft.AutoGen.Abstractions;
64

75
public interface IAgentWorker

dotnet/src/Microsoft.AutoGen/Abstractions/MessageExtensions.cs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
using Google.Protobuf;
55
using Google.Protobuf.WellKnownTypes;
6-
using CloudNative.CloudEvents.V1;
76

87
namespace Microsoft.AutoGen.Abstractions;
98

dotnet/src/Microsoft.AutoGen/Agents/AgentBase.cs

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
using Google.Protobuf;
1010
using Microsoft.AutoGen.Abstractions;
1111
using Microsoft.Extensions.Logging;
12-
using CloudNative.CloudEvents.V1;
1312

1413
namespace Microsoft.AutoGen.Agents;
1514

dotnet/src/Microsoft.AutoGen/Agents/AgentBaseExtensions.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
using System.Diagnostics;
55
using Google.Protobuf.Collections;
6+
using static Microsoft.AutoGen.Abstractions.CloudEvent.Types;
67

78
namespace Microsoft.AutoGen.Agents;
89

@@ -58,7 +59,7 @@ public static class AgentBaseExtensions
5859
return activity;
5960
}
6061

61-
public static Activity? ExtractActivity(this AgentBase agent, string activityName, MapField<string, CloudNative.CloudEvents.V1.CloudEvent.Types.CloudEventAttributeValue> metadata)
62+
public static Activity? ExtractActivity(this AgentBase agent, string activityName, MapField<string, CloudEventAttributeValue> metadata)
6263
{
6364
return ExtractActivity(agent, activityName, metadata.ToDictionary(kvp => kvp.Key, kvp => kvp.Value.CeString));
6465
}

dotnet/src/Microsoft.AutoGen/Agents/AgentRuntime.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
using System.Diagnostics;
55
using Microsoft.AutoGen.Abstractions;
6+
using static Microsoft.AutoGen.Abstractions.CloudEvent.Types;
67
using Microsoft.Extensions.Logging;
7-
using CloudNative.CloudEvents.V1;
8+
89
using Google.Protobuf.Collections;
9-
using static CloudNative.CloudEvents.V1.CloudEvent.Types;
1010

1111
namespace Microsoft.AutoGen.Agents;
1212

dotnet/src/Microsoft.AutoGen/Agents/Services/AgentWorker.cs

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
using Microsoft.Extensions.DependencyInjection;
99
using Microsoft.Extensions.Hosting;
1010
using Microsoft.Extensions.Logging;
11-
using CloudNative.CloudEvents.V1;
1211

1312
namespace Microsoft.AutoGen.Agents;
1413

dotnet/src/Microsoft.AutoGen/Agents/Services/Grpc/GrpcAgentWorker.cs

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
using Microsoft.Extensions.DependencyInjection;
1111
using Microsoft.Extensions.Hosting;
1212
using Microsoft.Extensions.Logging;
13-
using CloudNative.CloudEvents.V1;
1413

1514
namespace Microsoft.AutoGen.Agents;
1615

dotnet/src/Microsoft.AutoGen/Agents/Services/Grpc/GrpcGateway.cs

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using Microsoft.AutoGen.Abstractions;
77
using Microsoft.Extensions.Hosting;
88
using Microsoft.Extensions.Logging;
9-
using CloudNative.CloudEvents.V1;
109

1110
namespace Microsoft.AutoGen.Agents;
1211

dotnet/src/Microsoft.AutoGen/Agents/Services/IGateway.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// IGateway.cs
33
using Microsoft.AutoGen.Abstractions;
4-
using CloudNative.CloudEvents.V1;
54

65
namespace Microsoft.AutoGen.Agents;
76

0 commit comments

Comments
 (0)