Catel.Reflection.TypeCache.GetTypeWithoutAssembly C# (CSharp) Méthode

GetTypeWithoutAssembly() public static méthode

Gets the type without assembly. For example, when the value Catel.TypeHelper is used as parameter, the type for Catel.TypeHelper, Catel.Core will be returned.
Note that this method can only support one type of "simple type name" resolving. For example, if "Catel.TypeHelper" is located in multiple assemblies, it will always use the latest known type for resolving the type.
The is null or whitespace.
public static GetTypeWithoutAssembly ( string typeNameWithoutAssembly, bool ignoreCase = false ) : Type
typeNameWithoutAssembly string The type name without assembly.
ignoreCase bool A value indicating whether the case should be ignored.
Résultat System.Type
        public static Type GetTypeWithoutAssembly(string typeNameWithoutAssembly, bool ignoreCase = false)
        {
            Argument.IsNotNullOrWhitespace("typeNameWithoutAssembly", typeNameWithoutAssembly);

            return GetType(typeNameWithoutAssembly, null, ignoreCase);
        }