コード例 #1
0
        public bool HasTypeWithName(string typeFullname)
        {
            ITypeManagerTypeHandler handler;

            handler = new DynamicBuildManagerTypeManagerTypeHandler();
            if (handler.HasTypeWithName(typeFullname)) return true;

            handler = new SystemTypeManagerTypeHandler();
            if (handler.HasTypeWithName(typeFullname)) return true;

            return false;
        }
コード例 #2
0
        public string SerializeType(Type type)
        {
            string serializedType;
            ITypeManagerTypeHandler handler;

            handler = new DynamicBuildManagerTypeManagerTypeHandler();
            serializedType = handler.SerializeType(type);
            if (serializedType != null) return serializedType;

            handler = new SystemTypeManagerTypeHandler();
            serializedType = handler.SerializeType(type);
            if (serializedType != null) return serializedType;

            return null;
        }
コード例 #3
0
        public Type GetType(string fullName)
        {
            Type type;
            ITypeManagerTypeHandler handler;

            handler = new DynamicBuildManagerTypeManagerTypeHandler();
            type = handler.GetType(fullName);
            if (type != null) return type;

            handler = new SystemTypeManagerTypeHandler();
            type = handler.GetType(fullName);
            if (type != null) return type;

            return null;
        }