source/R5T.NetStandard.Types/Code/Helpers/ExceptionHelper.cs
/// <summary>
/// Provides a message indicating that an instance was not of the expected type.
/// </summary>
Provides a message indicating that an instance was not of the expected type.
Provides a message indicating that an instance was not of the expected type .
public static string UnexpectedTypeExceptionMessage<TExpected>(object foundInstance)
        {
            var output = ExceptionHelper.UnexpectedTypeExceptionMessage(typeof(TExpected), foundInstance.GetType());
            return output;
        }
public static string UnexpectedTypeExceptionMessage < TExpected > ( object foundInstance ) { var output = ExceptionHelper . UnexpectedTypeExceptionMessage ( typeof ( TExpected ) , foundInstance . GetType ( ) ) ; return output ; }
Provides a message indicating that an instance was not of the expected type.
Provides a message indicating that an instance was not of the expected type .
foundInstance
object