Search Results for

    Show / Hide Table of Contents

    Class ContactImportService

    Implementation of a service to import, save, load and delete import contacts.

    Inheritance
    System.Object
    ContactImportService
    Implements
    IContactImportService
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.PlugIn.SAC.Contact
    Assembly: Simplic.PlugIn.SAC.dll
    Syntax
    public class ContactImportService : IContactImportService

    Constructors

    | Improve this Doc View Source

    ContactImportService(IContactImportRepository)

    Initializes a new istance of ContactImportService with dependency injection.

    Declaration
    public ContactImportService(IContactImportRepository contactImportRepository)
    Parameters
    Type Name Description
    IContactImportRepository contactImportRepository

    Methods

    | Improve this Doc View Source

    Delete(ImportContact)

    Deletes an import contact.

    Declaration
    public bool Delete(ImportContact obj)
    Parameters
    Type Name Description
    ImportContact obj

    The import contact to delete.

    Returns
    Type Description
    System.Boolean

    Whether the delete was successfull.

    | Improve this Doc View Source

    Delete(Guid)

    Delets an import contact.

    Declaration
    public bool Delete(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    The id of an import contact.

    Returns
    Type Description
    System.Boolean

    Whether the delete was successfull.

    | Improve this Doc View Source

    Get(Guid)

    Gets an import contact.

    Declaration
    public ImportContact Get(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    The id of an import contact.

    Returns
    Type Description
    ImportContact

    The import contact with the given id.

    | Improve this Doc View Source

    GetAll()

    Gets all import contacts.

    Declaration
    public IEnumerable<ImportContact> GetAll()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ImportContact>

    An enumberable of all import contacts.

    | Improve this Doc View Source

    GetAllEnqueued()

    Gets all enqueued import cotacts.

    Declaration
    public IEnumerable<ImportContact> GetAllEnqueued()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ImportContact>

    An enumerable of all enqueued import contacts.

    | Improve this Doc View Source

    Import(ImportContact)

    Imports an import contact.

    Declaration
    public bool Import(ImportContact obj)
    Parameters
    Type Name Description
    ImportContact obj

    An import contact instance.

    Returns
    Type Description
    System.Boolean

    Whether the import was successfull.

    | Improve this Doc View Source

    ImportAllEnqueued()

    Imports all enqueued import cotacts.

    Declaration
    public bool ImportAllEnqueued()
    Returns
    Type Description
    System.Boolean

    Whether all imports were successfull.

    | Improve this Doc View Source

    Save(ImportContact)

    Saves an import contact.

    Declaration
    public bool Save(ImportContact obj)
    Parameters
    Type Name Description
    ImportContact obj

    An import contact instance.

    Returns
    Type Description
    System.Boolean

    Whether the save was successfull.

    Implements

    IContactImportService
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx