docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IServiceInitialRegistration

    Interface for configuring service registration.

    Namespace: Unity.Cloud.Collaboration.Services.ServicesContainer
    Assembly: Unity.Cloud.Collaboration.dll
    Syntax
    public interface IServiceInitialRegistration

    Methods

    AsService<TContract>()

    Registers the service as implementing an specified contract type.

    Declaration
    IServiceRegistration AsService<TContract>() where TContract : class
    Returns
    Type Description
    IServiceRegistration

    The service registration for further configuration.

    Type Parameters
    Name Description
    TContract

    The contract type the service implements.

    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)