随笔分类 -  每日代码

该文被密码保护。
posted @ 2012-03-06 19:42 凌鸢 阅读(4) 评论(0) 推荐(0) 编辑
摘要:public string GetRouteUrl(string routeName, string physicalFile, params object[] parames) { RouteBase routeBase = RouteTable.Routes[routeName]; // GetRouteData(new HttpContextWrapper(HttpContext.Current)); if (routeBase != null) { Route route = (Route)routeBase; string url = route.Url; MatchCollecti 阅读全文
posted @ 2011-03-21 17:04 凌鸢 阅读(280) 评论(0) 推荐(0) 编辑
摘要:xml文件<?xml version="1.0"?><User xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Name>issac</Name> <Age>25</Age> <Address> <Adrs>123</Adrs> </Address></Use 阅读全文
posted @ 2011-03-15 16:14 凌鸢 阅读(728) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ public delegate T Function<out T>(); //泛型委托 out关键字:基于协变的变体 //public delegate Stro... 阅读全文
posted @ 2011-02-15 20:19 凌鸢 阅读(1437) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ public delegate T Function<out T>(); //泛型委托 out关键字:基于协变的变体 //public delegate Stro... 阅读全文
posted @ 2011-02-15 16:13 凌鸢 阅读(432) 评论(0) 推荐(0) 编辑