Search Results for

    Show / Hide Table of Contents

    Interface IVaultService

    This service supplies methods for working with Vaults

    Namespace: ImageVault.Common.Services
    Assembly: ImageVault.Common.dll
    Syntax
    public interface IVaultService : IService

    Methods

    Delete(Int32)

    Deletes an empty vault by its id

    Declaration
    void Delete(int vaultId)
    Parameters
    Type Name Description
    System.Int32 vaultId

    Find(VaultQuery)

    Find all vaults matching the query

    Declaration
    List<Vault> Find(VaultQuery query)
    Parameters
    Type Name Description
    VaultQuery query
    Returns
    Type Description
    System.Collections.Generic.List<Vault>

    FindStatistics(VaultStatisticsQuery)

    Finds all statistics matching the query

    Declaration
    List<VaultStatistics> FindStatistics(VaultStatisticsQuery query)
    Parameters
    Type Name Description
    VaultStatisticsQuery query
    Returns
    Type Description
    System.Collections.Generic.List<VaultStatistics>

    GetDeletedVaults(Int32, Int32)

    Gets a list of all deleted vaults

    Declaration
    IList<Vault> GetDeletedVaults(int skip, int take)
    Parameters
    Type Name Description
    System.Int32 skip

    The number of items to skip

    System.Int32 take

    The number of items to take

    Returns
    Type Description
    System.Collections.Generic.IList<Vault>

    Save(Vault, VaultServiceSaveOptions)

    Creates or updates a vault

    Declaration
    Vault Save(Vault vault, VaultServiceSaveOptions options)
    Parameters
    Type Name Description
    Vault vault
    VaultServiceSaveOptions options
    Returns
    Type Description
    Vault

    UndeleteVault(Int32)

    Removes the deleted flag from the vault with the supplied id

    Declaration
    void UndeleteVault(int id)
    Parameters
    Type Name Description
    System.Int32 id

    Extension Methods

    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022