src/Microsoft.Azure.Functions.Worker.Extensions.Dapr/Bindings/DaprPublishOutputAttribute.cs (10 lines of code) (raw):

// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. // ------------------------------------------------------------ namespace Microsoft.Azure.Functions.Worker.Extensions.Dapr { using System; /// <summary> /// Attribute to specify parameters for the Dapr publish output binding. /// </summary> public class DaprPublishOutputAttribute : DaprBaseOutputAttribute { /// <summary> /// Gets or sets the pub/sub name to publish to. /// </summary> public string? PubSubName { get; set; } /// <summary> /// Gets or sets the name of the topic to publish to. /// </summary> public string? Topic { get; set; } } }