Search Results for

    Show / Hide Table of Contents

    ClassicAssert.IsInstanceOf

    ClassicAssert.IsInstanceOf succeeds if the object provided as an actual value is an instance of the expected type.

    ClassicAssert.IsInstanceOf(Type expected, object actual);
    ClassicAssert.IsInstanceOf(Type expected, object actual,
                        string message, params object[] params);
    ClassicAssert.IsInstanceOf<T>(object actual);
    ClassicAssert.IsInstanceOf<T>(object actual,
                           string message, params object[] params);
    

    See Also

    • Type Constraints
    • Edit this page
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0