intern() private method

private intern ( string nsname ) : Symbol
nsname string
return Symbol
Ejemplo n.º 1
0
 public static Keyword find(String nsname)
 {
     return(find(Symbol.intern(nsname)));
 }
Ejemplo n.º 2
0
        public Type importClass(Type t)
        {
            string n = Util.NameForType(t);

            return(importClass(Symbol.intern(n), t));
        }
Ejemplo n.º 3
0
 public static Keyword intern(string ns, string name)
 {
     return(intern(Symbol.intern(ns, name)));
 }
Ejemplo n.º 4
0
        /// <summary>
        /// Map a symbol to a Type (import) using the type name for the symbol name.
        /// </summary>
        /// <param name="t">The type to associate with the symbol</param>
        /// <returns>The Type.</returns>
        /// <remarks>Named importClass instead of ImportType for core.clj compatibility.</remarks>
        public Type importClass(Type t)
        {
            string n = t.Name;

            return(importClass(Symbol.intern(n), t));
        }