CSLE.CLS_Environment.GetType C# (CSharp) Method

GetType() public method

public GetType ( CLType type ) : ICLS_Type
type CLType
return ICLS_Type
        public ICLS_Type GetType(CLType type)
        {
            if (type == null)
                return typess["null"];

            ICLS_Type ret = null;
            if (types.TryGetValue(type, out ret) == false)
            {
                logger.Log_Warn("(CLScript)类型未注册,将自动注册一份匿名:" + type.ToString());
                ret = RegHelper_Type.MakeType(type, "");
                RegType(ret);
            }
            return ret;
        }
        //public ICLS_Type_Dele GetDeleTypeBySign(string sign)