Ejemplo n.º 1
0
        public ScriptUserdata GetDelegate(Type type)
        {
            if (m_Delegates.ContainsKey(type))
            {
                return(m_Delegates[type]);
            }
            ScriptUserdataDelegateType ret = new ScriptUserdataDelegateType(this, type);

            m_Delegates.Add(type, ret);
            return(ret);
        }
Ejemplo n.º 2
0
        public ScriptUserdata GetDelegate(Type type)
        {
            if (this.m_Delegates.ContainsKey(type))
            {
                return(this.m_Delegates[type]);
            }
            ScriptUserdataDelegateType type2 = new ScriptUserdataDelegateType(this, type);

            this.m_Delegates.Add(type, type2);
            return(type2);
        }
Ejemplo n.º 3
0
 public static void Initialize()
 {
     ScriptUserdataDelegateType.SetFactory(new ScorpioDelegateFactory());
 }