Show / Hide Table of Contents

    Class GpxEmail

    Represents an e-mail address by ID and domain, kept separate in GPX files in an attempt to defeat simple e-mail harvesting schemes.

    Inheritance
    Object
    GpxEmail
    Inherited Members
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: NetTopologySuite.IO
    Assembly: NetTopologySuite.IO.GPX.dll
    Syntax
    public sealed class GpxEmail : ICanWriteToXmlWriter
    Remarks

    In the official XSD schema for GPX 1.1, this corresponds to the simple type "emailType".

    Constructors

    | Improve this Doc View Source

    GpxEmail(String, String)

    Initializes a new instance of the GpxEmail class.

    Declaration
    public GpxEmail(string id, string domain)
    Parameters
    Type Name Description
    String id

    The value for Id.

    String domain

    The value for Domain.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown when id or domain is null.

    Properties

    | Improve this Doc View Source

    Domain

    Gets the user ID fragment of the e-mail address. This is the part after the '@'.

    Declaration
    public string Domain { get; }
    Property Value
    Type Description
    String
    Remarks

    In the official XSD schema for GPX 1.1, this corresponds to the "domain" attribute.

    | Improve this Doc View Source

    Id

    Gets the user ID fragment of the e-mail address. This is the part before the '@'.

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    String
    Remarks

    In the official XSD schema for GPX 1.1, this corresponds to the "id" attribute.

    Methods

    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    Object.Equals(Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX