Ejemplo n.º 1
0
            public Type FindClrTypeByFullName(string resourceTypeFullName)
            {
                Type type = this.reflectionDataContext.GetType().Assembly.GetTypes().Where <Type>(delegate(Type t) {
                    return(ReflectionDataContext.GetResourceTypeFullName(t) == resourceTypeFullName);
                }).FirstOrDefault <Type>();

                ExceptionUtilities.CheckObjectNotNull(type, "Unable to find type '{0}'", new object[] { resourceTypeFullName });
                return(type);
            }