Innovt Platform
Search Results for

    Show / Hide Table of Contents

    Class NotificationMessageContact

    Represents a contact for a notification message.

    Inheritance
    object
    NotificationMessageContact
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Innovt.Notification.Core.Domain
    Assembly: Innovt.Notification.Core.dll
    Syntax
    public class NotificationMessageContact : IValidatableObject

    Constructors

    | Edit this page View Source

    NotificationMessageContact()

    Initializes a new instance of the NotificationMessageContact class.

    Declaration
    public NotificationMessageContact()
    | Edit this page View Source

    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 Source

    Address

    Gets or sets the address of the contact.

    Declaration
    public string Address { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    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 Source

    Validate(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.

    Implements

    IValidatableObject

    Extension Methods

    Extensions.EnsureIsValid(IValidatableObject, ValidationContext)
    Extensions.IsValid(IValidatableObject, ValidationContext)
    Extensions.IsNull(object)
    Extensions.ToStringOrDefault(object)
    SimpleMapper.MapTo<T1>(object)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX