/// <summary> /// Initializes a new instance of the <see cref="ReceiveValueFromAttribute" /> class. /// </summary> /// <param name="senderName"> /// The value for the <see cref="ReceiveNotificationFromAttribute.SenderName" /> property. /// </param> /// <param name="options"> /// The value for the <see cref="ReceiveNotificationFromAttribute.Options" /> property. /// </param> /// <param name="sortOrder"> /// The value for the <see cref="ReceiveNotificationFromAttribute.SortOrder" /> property. /// </param> public ReceiveValueFromAttribute(string senderName, ReceiveFromOptions options = ReceiveFromOptions.Default, int sortOrder = 0) : base(senderName: senderName, options: options, sortOrder: sortOrder) { }
/// <summary> /// Initializes a new instance of the <see cref="ReceiveNotificationFromAttribute" /> class. /// </summary> /// <param name="senderName"> /// The value for the <see cref="ReceiveNotificationFromAttribute.SenderName" /> property. /// </param> /// <param name="options"> /// The value for the <see cref="ReceiveNotificationFromAttribute.Options" /> property. /// </param> /// <param name="sortOrder"> /// The value for the <see cref="ReceiveNotificationFromAttribute.SortOrder" /> property. /// </param> public ReceiveNotificationFromAttribute(string senderName, ReceiveFromOptions options = ReceiveFromOptions.Default, int sortOrder = 0) { Options = options; SenderName = senderName; SortOrder = sortOrder; }