.NET Client Documentation
5.1.1
Search Results for

    Show / Hide Table of Contents

    ProjectAsync Method

    ProjectAsync<TResult>(IProjection)

    Projects values.

    Declaration
    Task<IReadOnlyCollection<TResult>> ProjectAsync<TResult>(IProjection projection)
    Parameters
    IProjection projection

    The projection.

    Returns
    Task<IReadOnlyCollection<TResult>>

    The projected values.

    Type Parameters
    TResult

    The type of the result.

    Remarks

    The projection must be serializable via Hazelcast serialization, and have a counterpart on the server.

    ProjectAsync<TResult>(IProjection, IPredicate)

    Projects values.

    Declaration
    Task<IReadOnlyCollection<TResult>> ProjectAsync<TResult>(IProjection projection, IPredicate predicate)
    Parameters
    IProjection projection

    The projection.

    IPredicate predicate

    A predicate to filter the entries with.

    Returns
    Task<IReadOnlyCollection<TResult>>

    The projected values.

    Type Parameters
    TResult

    The type of the result.

    Remarks

    The projection and predicate must be serializable via Hazelcast serialization, and have a counterpart on the server.

    In This Article
    Back to top Copyright © 2010-2022 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.