/*--------------------------------------------------------------------------
* linq.js - LINQ for JavaScript
* ver 2.2.0.2 (Jan. 21th, 2011)
*
* created and maintained by neuecc <ils@neue.cc>
* licensed under Microsoft Public License(Ms-PL)
* http://neue.cc/
* http://linqjs.codeplex.com/
*--------------------------------------------------------------------------*/
Features
* implement all .NET 4.0 methods and many extra methods (inspiration from Rx, Achiral, Haskell, Ruby, etc...)
* complete lazy evaluation
* Full IntelliSense support for VisualStudio
* two versions - linq.js(Normal) and jquery.linq.js(jQuery plugin)
* support Windows Script Host
* binding for Reactive Extensions for JavaScript(RxJS)
* NuGet install support(linq.js, linq.js-jQuery, linq.js-Bindings)
Tutorial
linq.js
---
<script type="text/javascript" src="linq.js"></script>
<script type="text/javascript">
// load linq.js -> Enumerable
Enumerable.Range(1,10)....
</script>
jQuery.linq.js (jQuery plugin)
---
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.linq.js"></script>
<script type="text/javascript">
// load jquery.linq.js -> $.Enumerable
$.Enumerable.Range(1,10)....
</script>
jQuery plugin version is added two methods.
* Enumerable.prototype.TojQuery (Enumerable to jQuery object)
* jQuery.prototype.toEnumerable (jQuery object to Eunmerable)
bindings/linq.jquery.js
---
<script type="text/javascript" src="linq.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="linq.jquery.js"></script>
<script type="text/javascript">
Enumerable.Range(1,10).TojQuery()...
</script>
jQuery Bindings added two methods(TojQuery and toEnumerable)
There are same as plugin version.
binding/linq.rx.js
---
more tutorial see linq.js CodePlex's Documentation
<script type="text/javascript" src="rx.js"></script>
<script type="text/javascript" src="linq.js"></script>
<script type="text/javascript" src="linq.rx.js"></script>
or
<script type="text/javascript" src="rx.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.linq.js"></script>
<script type="text/javascript" src="linq.rx.js"></script>
-vsdoc.js
---
Visual Studio 2010 - as is.
Visual Studio 2008 - install SP1 and Patch KB958502.
linq-vsdoc.js(or jquery.linq-vsdoc.js) puts in same directory.
if not html then write xml referrence tag on top.
for example
/// <reference path="linq.js" />
for Windows Script Host
---
create wsf file.
example
<job id="Main">
<script language="JScript" src="linq.js"></script>
<script language="JScript">
var dir = WScript.CreateObject("Scripting.FileSystemObject").GetFolder("C:\\");
var itemNames = Enumerable.From(dir.SubFolders)
.Concat(dir.Files)
.Select("$.Name")
.ToArray();
</script>
</job>
How to use CodeSnippets
---
open Visual Studio 2010's Code Snippet Manager(Ctrl+K, Ctrl+B)
click import button and select snippets/*.snippet
func0 = function () { return /*cursor*/}
func1 = function (x) { return /*cursor*/}
func2 = function (x, y) { return /*cursor*/}
action0 = function () { /*cursor*/}
action1 = function (x) { /*cursor*/}
action2 = function (x, y) { /*cursor*/}
efrom = Enumerable.From()
erange = Enumerable.Range()
jqfrom = $.Enumerable.From()
jqrange = $.Enumerable.Range()
// history
2011-01-21 ver 2.2.0.2
Add
bindings/linq.jquery.js
Info
NuGet Package Added to NuGet Gallery
2011-01-18 ver 2.2.0.1
Change
ToObservable(linq.rx.js) receive scheduler
OrderBy optimized performance
minifier/jQuery genereted by F# Script
Bug Fix
remove two not declared var
2010-06-28 ver 2.2.0.0
Add Method
TakeFromLast
ToJSON
Add File
rewrite all tests from JSUnit to QUnit
binding for RxJS(Reactive Extensions for JavaScript)
add RxVSDocGenerator(rx-vsdoc.js generator for RxJS)
add code snippets for Visual Studio
Change
wrap array (Enumerable.From(array)) optimized performance
Grouping optimized performance
Enumerable.From(array)'s array allow function element
if TakeExceptLast's count under 0 then return all sequence
add default iterator variable's second, third, fourth($$, $$$, $$$$)
Bug Fix
MemoizeAll can't work when sequence contains undefined
Sum can't work when sequence is empty(fixed return 0)
vsdoc's Grouping elementSelector is short of summary
2010-05-18 ver 2.1.0.0
Add Class
Dictionary
Lookup
Grouping
OrderedEnumerable
Add Method
ToDictionary
MemoizeAll
Share
Let
Add Overload
Join (compareKey)
GroupJoin (compareKey)
GroupBy (compareKey)
PartitionBy (compareKey)
ToLookup (compareKey)
Breaking Change
return type of ToLookup -> from Array to Lookup
Enumerate type of GroupBy,PartitionBy -> from KeyValuePair to Grouping
Change
implimentation of OrderBy/ThenBy changed CLR compatible (maybe...)
Bug Fix
GroupBy Key auto converts to string
All set methods do not distinction between boolean and string and number
Scan and All Paging Methods do not work if sequence contains undefined
2010-04-23 ver 2.0.0.0
all code rewrite from scratch.
enumerator support Dispose.
namespace changed
E, Linq.Enumerable -> Enumerable
delete methods
ToJSON
ToTable
TraceF
RangeDownTo
rename methods
ZipWith -> Zip
Slice -> BufferWithCount
Times -> Generate
change methods
From (add argument - WSH's IEnumerable)
Trace (write to console.log)
RangeTo (contains downto)
OrderBy/ThenBy (support string sort)
add methods
MaxBy
MinBy
OfType
Catch
Finally
PartitionBy
Alternate
TakeExceptLast
RepeatWithFinalize
add files
jquery.linq.js
and minifier file by Microsoft Ajax Minifier(-HC)
delete files
linq.xml.js (move to branches)
linq.tools.js (move to branches and rename linq.utils.js)
2009-06-15 ver 1.3.0.2
Add Make, CascadeDepthFirst/CascadeBreadthFirst.
ForEach support continue/break.
2009-06-05 ver 1.3.0.1
IntelliSense Support.
dom functional construction(Linq to Xml).
2009-05-24 ver 1.3.0.0
Add - Unfold, Matches, Insert, IndexOf, LastIndexOf
Change - From<String>
Add linq.tools.js - Stopwatch.Bench, StringBuilder.Reverse, HashSet
2009-05-17 ver 1.2.0.3
Add linq.tools.js - Stopwatch, DateUtility.IsLeapYear, DateUtility.DaysInMonth
2009-05-16 ver 1.2.0.2
Add new Sample - linq.tools.js
2009-05-07 ver 1.2.0.1
FixBug - ToJSON
Add - Times
Add Overload step - Range, RangeDown, RangeTo, RangeDownTo, ToInfinity, ToNegativeInfinity
2009-04-26 ver 1.2.0.0
FixBug - Set Operations(Disctint,Union,Intersect,Except)
FixBug - ToJSON
Add compareSelector - Contains, Distinct, Except, Intersect, SequenceEqual, Union
2009-04-19 ver 1.1.0.0
Add new Sample - linqfader
Add linq.xml.js
2009-04-10 ver 1.0.0.1
Add - Choice
Add - RangeTo
Add - RangeDownTo
Fix - Cycle
2009-04-04
1st Release
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
一、源码特点 1、框架采用DMSFrame访问数据库方式,完全AJAX访问方式的通用权限管理系统 二、功能介绍 1、系统维护:系统生成管理 2、用户权限:菜单模块管理,组织架构管理,职位列表管理,用户管理 三、注意事项 2、数据库配置请看TableConfig.xml 3.DMSFrame是一个完全采用LINQ写法来访问数据库的一个框架,目前支持MSSQL,MYSQL两种数据库,后续可以添加任意数据库!
资源详情
资源评论
资源推荐
收起资源包目录
ASPNETFrame通用权限管理系统源码 (641个子文件)
ValidateCodeHandler.ashx 126B
UserList.aspx 12KB
RightsList.aspx 10KB
RightsEdit.aspx 10KB
GroupList.aspx 8KB
DeptList.aspx 7KB
UserEdit.aspx 6KB
GroupRightList.aspx 6KB
GroupUserList.aspx 4KB
SysCenterList.aspx 3KB
ShowMessagePage.aspx 2KB
body.aspx 1KB
Default.aspx 606B
ShowErrorPage.aspx 125B
loginout.aspx 117B
DesignTimeResolveAssemblyReferencesInput.cache 54KB
DesignTimeResolveAssemblyReferencesInput.cache 6KB
DesignTimeResolveAssemblyReferencesInput.cache 6KB
DesignTimeResolveAssemblyReferencesInput.cache 6KB
DesignTimeResolveAssemblyReferencesInput.cache 6KB
1.cer 4KB
1.cer 969B
DMSFrame.chm 1.11MB
DMSFrame.WebService.chm 456KB
Web.config 2KB
KingNETCache.cs 16KB
Adm_User.cs 16KB
Adm_RightsBLL.cs 13KB
LinqJS.cs 13KB
AdmUserService.cs 12KB
AdmUserLoginService.cs 12KB
AdmRightsService.cs 12KB
EncryptHelper.cs 11KB
Adm_Rights.cs 10KB
vw_Adm_Rights_User.cs 10KB
EnumBase.cs 9KB
Adm_Dept.cs 8KB
RxVSDocGenerator.cs 8KB
Adm_Group.cs 8KB
vw_Adm_Rights.cs 8KB
AdminPageBase.cs 8KB
DefaultCacheStrategy.cs 7KB
AdmGroupService.cs 7KB
EscapeHelper.cs 7KB
CookieHelper.cs 6KB
IBOServiceHandler.cs 6KB
AdminLoginPageBase.cs 6KB
WebServiceFrameBase.cs 6KB
CachesFileMonitor.cs 5KB
IpHelper.cs 5KB
Adm_GroupBLL.cs 5KB
Adm_DeptBLL.cs 5KB
ValidateCodeHandler.ashx.cs 4KB
PageBase.cs 4KB
Adm_GroupUserRight.cs 4KB
AdminTicket.cs 4KB
AdmDeptService.cs 4KB
Adm_UserBLL.cs 3KB
AdmParam.cs 3KB
ConfigHelper.cs 3KB
SysCenterService.cs 3KB
Adm_GroupUser.cs 3KB
CacheBase.cs 3KB
zMasterSystemPage.Master.designer.cs 2KB
JsonHelper.cs 2KB
ShowMessagePage.aspx.designer.cs 2KB
ShowMessagePage.aspx.cs 2KB
SPPagingEntityParam.cs 2KB
TicketBase.cs 2KB
ICacheStrategy.cs 2KB
EnumCollection.cs 1KB
AssemblyInfo.cs 1KB
AssemblyInfo.cs 1KB
FileExtentionsHelper.cs 1KB
AssemblyInfo.cs 1KB
AssemblyInfo.cs 1KB
AssemblyInfo.cs 1KB
EnumAttribute.cs 1KB
SessionHelper.cs 1KB
loginout.aspx.cs 936B
BaseParam.cs 852B
rt_GroupRightsList.cs 741B
GroupRightList.aspx.cs 718B
GroupUserList.aspx.cs 710B
RightsList.aspx.cs 704B
GroupList.aspx.cs 702B
UserList.aspx.cs 700B
DeptList.aspx.cs 699B
Utils.cs 612B
StaticConst.cs 570B
GroupRightList.aspx.designer.cs 484B
GroupUserList.aspx.designer.cs 483B
SysCenterList.aspx.designer.cs 483B
RightsList.aspx.designer.cs 480B
RightsEdit.aspx.designer.cs 480B
GroupList.aspx.designer.cs 479B
UserEdit.aspx.designer.cs 478B
DeptList.aspx.designer.cs 478B
UserList.aspx.designer.cs 478B
Default.aspx.designer.cs 477B
共 641 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
办公模板库素材蛙
- 粉丝: 1676
- 资源: 2299
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 人物检测26-YOLO(v5至v11)、COCO、CreateML、Paligemma、TFRecord、VOC数据集合集.rar
- 人和箱子检测2-YOLO(v5至v11)、COCO、CreateML、Paligemma、TFRecord、VOC数据集合集.rar
- 清华大学2022年秋季学期 高等数值分析课程报告
- GEE错误集-Cannot add an object of type <Element> to the map. Might be fixable with an explicit .pdf
- 清华大学2022年秋季学期 高等数值分析课程报告
- 矩阵与线程的对应关系图
- 人体人员检测46-YOLO(v5至v9)、COCO、Darknet、TFRecord数据集合集.rar
- GEMM优化代码实现1
- java实现的堆排序 含代码说明和示例.docx
- 资料阅读器(先下载解压) 5.0.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0