docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AnnotationManagementFactory

    Factory class for creating instances of IAnnotationManagement.

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

    Methods

    GetAnnotationManagement(IServicesContainer)

    Creates IAnnotationManagement instance using provided container with services

    Declaration
    public IAnnotationManagement GetAnnotationManagement(IServicesContainer serviceContainer)
    Parameters
    Type Name Description
    IServicesContainer serviceContainer

    DI Container with services

    Returns
    Type Description
    IAnnotationManagement

    Instance of IAnnotationManagement

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown when serviceContainer is null

    InvalidArgumentException

    Thrown when serviceContainer does not have registered IServiceHttpClient or IServiceHostResolver instances

    GetAnnotationManagement(IServiceHttpClient, IServiceHostResolver)

    Creates IAnnotationManagement instance using provided services

    Declaration
    public IAnnotationManagement GetAnnotationManagement(IServiceHttpClient serviceHttpClient, IServiceHostResolver serviceHostResolver)
    Parameters
    Type Name Description
    IServiceHttpClient serviceHttpClient

    Instance of http client to send requests

    IServiceHostResolver serviceHostResolver

    Instance of host resolver to get base url

    Returns
    Type Description
    IAnnotationManagement

    Instance of IAnnotationManagement

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown when serviceHttpClient or serviceHostResolver is null

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