不是类的属性,是类似python中装饰器的东西,也类似java中的注解,vb.net把尖括号跟Attribute用了,泛型只能用其他的方式了
<HttpPost()>
<ValidateAntiForgeryToken()>
Function Edit(<Bind(Include:="ID,Title,ReleaseDate,Genre,Price,Rating")> ByVal movie As Movie) As ActionResult
If ModelState.IsValid Then
db....
http://www.cnblogs.com/UliiAn/p/3554863.html
server {
listen 80;
server_name www.abc.com;
#charset utf-8;
access_log /var/www/www.abc.com/log/host.access.log;
error_log /var/www/www.abc.com/log/error.log;
# gzip off;
root /var/www/www.abc.com/web;
index index.php index.h...
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-g...
linux平台的:xdotool,安装方式:apt-get install xdotool
osx平台的:cliclick,安装方式:brew install cliclick
xdotool模拟1000次鼠标点击:
for((i=0;i<1000;i++));do xdotool click 1;done
cliclick模拟1000次鼠标点击:
for((i=0;i<1000;i++));do cliclick c:.;done