Class NotificationMessageContact
Represents a contact for a notification message.
Implements
Inherited Members
Namespace: Innovt.Notification.Core.Domain
Assembly: Innovt.Notification.Core.dll
Syntax
public class NotificationMessageContact : IValidatableObject
Constructors
| Edit this page View SourceNotificationMessageContact()
Initializes a new instance of the NotificationMessageContact class.
Declaration
public NotificationMessageContact()
NotificationMessageContact(string, string)
Initializes a new instance of the NotificationMessageContact class with the specified name and address.
Declaration
public NotificationMessageContact(string name, string address)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the contact. |
string | address | The address of the contact. |
Properties
| Edit this page View SourceAddress
Gets or sets the address of the contact.
Declaration
public string Address { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Gets or sets the name of the contact.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceValidate(ValidationContext)
Determines whether the specified object is valid.
Declaration
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
Type | Name | Description |
---|---|---|
ValidationContext | validationContext | The validation context. |
Returns
Type | Description |
---|---|
IEnumerable<ValidationResult> | A collection that holds failed-validation information. |