Rock.Reflection.FindType C# (CSharp) Method

FindType() public static method

Finds the first matching type in Rock or any of the assemblies that reference Rock
public static FindType ( Type baseType, string typeName ) : Type
baseType System.Type Type of the base.
typeName string Name of the type.
return System.Type
        public static Type FindType( Type baseType, string typeName )
        {
            return FindTypes( baseType, typeName ).Select( a => a.Value ).FirstOrDefault();
        }