Exemple #1
0
        public bool IsNotTypeOfTest <T>(T value, Type typeComparison)
        {
            bool result = TypeTestingUtility.IsNotTypeOf <T>(value, typeComparison);

            return(result);
            // TODO: add assertions to method TypeTestingUtilityTests.IsNotTypeOfTest(!!0, Type)
        }
Exemple #2
0
 /// <summary>
 ///		Checks if the <paramref name="value"/> type is not equal to the <paramref name="typeComparison"/>.
 /// </summary>
 /// <typeparam name="T">The type to test.</typeparam>
 /// <param name="value">The <typeparamref name="T"/> to check.</param>
 /// <param name="typeComparison">The type to compare <paramref name="value"/> to.</param>
 /// <returns>
 ///		<see langword="true"/> if the <paramref name="value"/> type is not equal to the <paramref name="typeComparison"/>; otherwise, <see langword="false"/>.
 /// </returns>
 public static Boolean IsNotTypeOf <T>([CanBeNull] this T value, [CanBeNull] Type typeComparison)
 {
     return(TypeTestingUtility.IsNotTypeOf(value, typeComparison));
 }