public override void Dispose()
 {
     base.Dispose();
     m_GetSourceValue    = null;
     m_ApplyActual       = null;
     m_UpdateSourceValue = null;
 }
Beispiel #2
0
        //返回对象的属性值
        public static object GetSourcePropertyValue(object source, BindingPathPart part, bool needSubscribe)
        {
            if (m_GetSourceValue == null)
            {
                m_GetSourceValue = EnterLua.luaenv.Global.GetInPath <BindPathPartGetValue>("BindingExpression.get_property");
            }

            return(m_GetSourceValue(source, part, needSubscribe));
        }
Beispiel #3
0
 public static void Dispose()
 {
     m_GetSourceValue    = null;
     m_ApplyActual       = null;
     m_UpdateSourceValue = null;
 }