using System.Collections.Generic; namespace Svrnty.CQRS.Grpc.Generators.Models { /// /// Represents a discovered streaming notification type for proto/gRPC generation. /// public class NotificationInfo { /// /// The notification type name (e.g., "InventoryChangeNotification"). /// public string Name { get; set; } /// /// The fully qualified type name including namespace. /// public string FullyQualifiedName { get; set; } /// /// The namespace of the notification type. /// public string Namespace { get; set; } /// /// The property name used as the subscription key (from [StreamingNotification] attribute). /// public string SubscriptionKeyProperty { get; set; } /// /// The subscription key property info. /// public PropertyInfo SubscriptionKeyInfo { get; set; } /// /// All properties of the notification type. /// public List Properties { get; set; } public NotificationInfo() { Name = string.Empty; FullyQualifiedName = string.Empty; Namespace = string.Empty; SubscriptionKeyProperty = string.Empty; SubscriptionKeyInfo = new PropertyInfo(); Properties = new List(); } } }