示例#1
0
        public static string GetType(CsUsingAliasDirective pDirective)
        {
            if (pDirective.namespace_or_type_name == null)
            {
                return("");
            }


            string ret = GetType(pDirective.namespace_or_type_name);

            if (!string.IsNullOrEmpty(ret))
            {
                ret += ".";
            }

            return(ret + pDirective.namespace_or_type_entity.name);
        }
示例#2
0
		public static string GetType(CsUsingAliasDirective pDirective) {
			if (pDirective.namespace_or_type_name == null) {
				return "";
			}


			string ret = GetType(pDirective.namespace_or_type_name);
			if (!string.IsNullOrEmpty(ret)) {
				ret += ".";
			}

			return ret + pDirective.namespace_or_type_entity.name;
		}