Interface IFunctionalitySubscriber<TProvider> | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IFunctionalitySubscriber<TProvider>

    Grants implementors the ability to access functionality provided by a TProvider. Methods on the provider object are exposed via extension method, so that they can be treated like instance methods. For example, a provider with a method Foo can be called within an implementing class as this.Foo(). Code generation will fill in a TProvider provider property which is used within these extension methods to call the corresponding method on the provider.

    Namespace: Unity.Labs.ModuleLoader
    Syntax
    public interface IFunctionalitySubscriber<TProvider> : IFunctionalitySubscriber where TProvider : IFunctionalityProvider
    Type Parameters
    Name Description
    TProvider

    The type which will provide functionality

    Properties

    provider

    Declaration
    TProvider provider { get; set; }
    Property Value
    Type Description
    TProvider
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023