docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AssetProjectQueryBuilder

    A class that builds and executes a query to return a set of projects.

    Inheritance
    object
    AssetProjectQueryBuilder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Assets
    Assembly: Unity.Cloud.Assets.dll
    Syntax
    public class AssetProjectQueryBuilder

    Methods

    ExecuteAsync(CancellationToken)

    Executes the query and returns the results.

    Declaration
    public IAsyncEnumerable<IAssetProject> ExecuteAsync(CancellationToken cancellationToken)
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    A token that can be used to cancel the request.

    Returns
    Type Description
    IAsyncEnumerable<IAssetProject>

    An async enumeration of IAssetProject.

    LimitTo(Range)

    Sets the range of results to return.

    Declaration
    public AssetProjectQueryBuilder LimitTo(Range range)
    Parameters
    Type Name Description
    Range range

    The range of results.

    Returns
    Type Description
    AssetProjectQueryBuilder

    The calling AssetProjectQueryBuilder.

    WithCacheConfiguration(AssetProjectCacheConfiguration)

    Sets an override to the default cache configuration for the query.

    Declaration
    public AssetProjectQueryBuilder WithCacheConfiguration(AssetProjectCacheConfiguration assetProjectCacheConfiguration)
    Parameters
    Type Name Description
    AssetProjectCacheConfiguration assetProjectCacheConfiguration

    The configuration to apply when populating the projects.

    Returns
    Type Description
    AssetProjectQueryBuilder

    The calling AssetProjectQueryBuilder.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)