EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Method AssignTo

    AssignTo<T>(T, SerialDisposable)

    Assigns an IDisposable instance to a SerialDisposable.

    Declaration
    public static T AssignTo<T>(this T instance, SerialDisposable anchor) where T : IDisposable
    Parameters
    Type Name Description
    T instance

    The IDisposable instance to be assigned.

    SerialDisposable anchor

    The SerialDisposable to which the instance will be assigned.

    Returns
    Type Description
    T

    The original IDisposable instance after assignment.

    Type Parameters
    Name Description
    T

    The type of the object to assign, which must derive from IDisposable.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown when the anchor is null.

    © Xab3r. All rights reserved.