Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename EventHubWebJobsExtensions #34480

Merged
merged 1 commit into from
Feb 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ public EventHubAttribute(string eventHubName) { }
public string Connection { get { throw null; } set { } }
public string EventHubName { get { throw null; } }
}
public static partial class EventHubsWebJobsExtensions
{
public static System.Threading.Tasks.Task AddAsync(this Microsoft.Azure.WebJobs.IAsyncCollector<Azure.Messaging.EventHubs.EventData> instance, Azure.Messaging.EventHubs.EventData eventData, string partitionKey, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
}
[Microsoft.Azure.WebJobs.Description.BindingAttribute]
[System.AttributeUsageAttribute(System.AttributeTargets.Parameter)]
public sealed partial class EventHubTriggerAttribute : System.Attribute
Expand All @@ -21,6 +17,10 @@ public EventHubTriggerAttribute(string eventHubName) { }
public string ConsumerGroup { get { throw null; } set { } }
public string EventHubName { get { throw null; } }
}
public static partial class EventHubWebJobsExtensions
{
public static System.Threading.Tasks.Task AddAsync(this Microsoft.Azure.WebJobs.IAsyncCollector<Azure.Messaging.EventHubs.EventData> instance, Azure.Messaging.EventHubs.EventData eventData, string partitionKey, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
}
}
namespace Microsoft.Azure.WebJobs.EventHubs
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Microsoft.Azure.WebJobs
{
public static class EventHubsWebJobsExtensions
public static class EventHubWebJobsExtensions
{
/// <summary>
/// Add an event to be published using the provided <paramref name="partitionKey"/> for partition assignment.
Expand Down