码迷,mamicode.com
首页 >  
搜索关键字:attribute    ( 4018个结果
[python]一个低级错误/xxx instance has no attribute 'xxx'/'module' object is not callable
今天在写代码的时候出现了以下两个错误:TypeError: 'module' object is not callableAttributeError: excelChange instance has no attribute 'xlBook'上网一查,发现第一个错误是由于python中有两种不同...
分类:编程语言   时间:2014-08-15 17:37:29    阅读次数:344
Object-c @property的使用方法
property是一种代码生成机制,能够生成不同类型的getter/setter函数,特别是如果你想要用点(.)操作符号来存取变量的话,你就能必须使用property。   如何使用? 用法如:@property (attribute1,attribute2) float value;   这些attribute包括: readonly-只读,只能读取而不能...
分类:其他好文   时间:2014-08-15 09:30:07    阅读次数:186
Asp.Net MVC 过滤器
xxxAttribute: xxx 是特性名称, 其中Attribute 为约定规则.xxxAttribute 可以继承FilterAttribute 和 实现以上四种过滤器.xxxAttribute 可以实现横切关注点, 其着重点就是一个特性可以被多个Action共享, 达到代码共享目的.IAut...
分类:Web程序   时间:2014-08-14 19:41:39    阅读次数:295
FATFS 初学之 f_chmod/ f_utime
f_chmod: 1 /*-----------------------------------------------------------------------*/ 2 /* Change Attribute ...
分类:其他好文   时间:2014-08-14 13:29:28    阅读次数:574
.net学习之Attribute特性和EF关键知识点
一、Attribute特性/标签1.Attribute用来对类、属性、方法等标注额外的信息,贴一个标签简单的说,定制特性Attribute,本质上就是一个类,它为目标元素提供关联附加信息,并在运行时以反射的方式来获取附加信息。[Obsolete("此方法已过时")]public void SayHi...
分类:Web程序   时间:2014-08-14 08:11:28    阅读次数:213
angular directive restrict 的用法
E 表示该指令是一个element; A 表示该指令是attribute; C 表示该指令是class; M 表示该指令是注视实例如下:原帖:www.thinkster.io/angularjs/rep5re7gTM/angularjs-directive-restrictionsWhile it’...
分类:其他好文   时间:2014-08-13 18:00:16    阅读次数:285
android 横竖屏切换 简记
横竖屏切换,不重新加载 Up to API 13 there was a new value to the configChanges attribute, screenSize So if you're using large screens make sure to add screenSize in your configChanges attribute: android:confi...
分类:移动开发   时间:2014-08-13 15:02:36    阅读次数:251
ListCtrl的扩展类EditListCtrl
该类继承自MFC的CListCtrl类; 实现列可选,多单元格可选,单击选中单元格并能双击编辑,同时也可以设定某一列是否能进行编辑等等。 功能强大,欢迎使用。 头文件:CEditListCtrl.hclass CEditListCtrl : public CListCtrl { // Construction public: CEditListCtrl(); // Attribute...
分类:其他好文   时间:2014-08-12 13:34:14    阅读次数:192
为初学者写ORM,ORM的原理及测试案例
提纲一、什么是ORM。二、反射以及Attribute在ORM中的应用。三、创建一个数据库表和表对应的实体model。四、实体model如何映射出数据库表。五、组合ORM映射生成insert语句。六、测试ORM的插入映射。七、总结。内容:一 、什么是ORM?概念: 对象关系映射(Object Rela...
分类:其他好文   时间:2014-08-12 13:22:04    阅读次数:354
jQuery.attributes源码分析(attr/prop/val/class)
回顾有了之前的几篇对于jQuery.attributes相关的研究,是时候分析jQuery.attr的源码了Javascript中的attribute和property分析attribute和property兼容性分析jQuery.access源码分析结构jQuery.fn.extend({ ...
分类:Web程序   时间:2014-08-11 20:44:22    阅读次数:620
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!