docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SwapExtensionsTests

    Inheritance
    object
    SwapExtensionsTests
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering.Tests
    Assembly: Unity.RenderPipelines.Core.Editor.Tests.dll
    Syntax
    public class SwapExtensionsTests

    Methods

    ExceptionsAreCorrect(int[], int, int)

    Declaration
    [Test]
    [TestCaseSource("s_ListTestsCaseDatasExceptions")]
    public Type ExceptionsAreCorrect(int[] ints, int from, int to)
    Parameters
    Type Name Description
    int[] ints
    int from
    int to
    Returns
    Type Description
    Type

    TrySwap(int[], int, int)

    Declaration
    [Test]
    [TestCaseSource("s_ListTestsCaseDatas")]
    public int[] TrySwap(int[] ints, int from, int to)
    Parameters
    Type Name Description
    int[] ints
    int from
    int to
    Returns
    Type Description
    int[]

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    In This Article
    Back to top
    Copyright © 2025 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)