docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ScopedContext<T>

    ScopedContext class is a container that can be used in a using statement It manages lifetime of a FieldBox variable for the scope of a using statement

    Inheritance
    object
    ScopedContext<T>
    Implements
    IDisposable
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Mechatronics.SystemGraph
    Assembly: solution.dll
    Syntax
    public class ScopedContext<T> : IDisposable
    Type Parameters
    Name Description
    T

    The internal type to use for the container field box

    Constructors

    Name Description
    ScopedContext(FieldBox<T>, T, T)

    Constructor to link the context variable with the current scope context instance.

    Methods

    Name Description
    Dispose()

    Dispose implementation, called at the end of the scoped context

    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)