示例#1
0
        public object GetAttribute(object instance, object owner)
        {
            DynamicType selfType = GetDynamicType();

            if (selfType == TypeCache.Super) {
                Super res = new Super();
                res.Initialize(__thisclass__, instance);
                return res;
            }

            return selfType.Call(DefaultContext.Default, __thisclass__, instance);
        }