docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MetadataRepositoryExtensions

    Inheritance
    object
    MetadataRepositoryExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Cloud.Metadata
    Assembly: solution.dll
    Syntax
    public static class MetadataRepositoryExtensions

    Methods

    GetAllIdsAsync(IMetadataRepository, CancellationToken)

    Gets all owner IDs in the dataset.

    Declaration
    public static Task<IEnumerable<InstanceId>> GetAllIdsAsync(this IMetadataRepository metadataRepository, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    IMetadataRepository metadataRepository

    The metadata repository.

    CancellationToken cancellationToken
    Returns
    Type Description
    Task<IEnumerable<InstanceId>>

    The list of ids

    GetAllMetadataAsync(IMetadataRepository, CancellationToken)

    Gets all metadata from all owners in the dataset.

    Declaration
    public static Task<MatchCollection> GetAllMetadataAsync(this IMetadataRepository metadataRepository, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    IMetadataRepository metadataRepository

    The metadata repository.

    CancellationToken cancellationToken
    Returns
    Type Description
    Task<MatchCollection>

    The list of Match.

    Query(IMetadataRepository)

    Gets a MetadataQueryBuilder to build fluent queries.

    Declaration
    public static MetadataQueryBuilder Query(this IMetadataRepository metadataRepository)
    Parameters
    Type Name Description
    IMetadataRepository metadataRepository
    Returns
    Type Description
    MetadataQueryBuilder

    A new MetadataQueryBuilder

    In This Article
    Back to top
    Copyright © 2024 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)