linq

WebJar for linq

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

linq
Последняя версия

Последняя версия

3.0.9
Дата

Дата

Тип

Тип

jar
Описание

Описание

linq
WebJar for linq
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/mihaifm/linq

Скачать linq

Имя Файла Размер
linq-3.0.9.pom
linq-3.0.9.jar 30 KB
linq-3.0.9-sources.jar 22 bytes
linq-3.0.9-javadoc.jar 22 bytes
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/linq/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>linq</artifactId>
    <version>3.0.9</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/linq/
implementation 'org.webjars.npm:linq:3.0.9'
// https://jarcasting.com/artifacts/org.webjars.npm/linq/
implementation ("org.webjars.npm:linq:3.0.9")
'org.webjars.npm:linq:jar:3.0.9'
<dependency org="org.webjars.npm" name="linq" rev="3.0.9">
  <artifact name="linq" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='linq', version='3.0.9')
)
libraryDependencies += "org.webjars.npm" % "linq" % "3.0.9"
[org.webjars.npm/linq "3.0.9"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

linq

This is a javascript implementation of the .NET LINQ library.

It contains all the original .NET methods plus a few additions.

Installation

With npm:

npm install linq

CDN availability:

CDN URL
unpkg https://unpkg.com/linq/
jsDelivr https://jsdelivr.com/package/npm/linq
packd https://bundle.run/linq@latest?name=linq

Examples

// C# LINQ - delegate
Enumerable.Range(1, 10)
    .Where(delegate(int i) { return i % 3 == 0; })
    .Select(delegate(int i) { return i * 10; });

// linq.js - anonymous function
Enumerable.range(1, 10)
    .where(function(i) { return i % 3 == 0; })
    .select(function(i) { return i * 10; });
// C# LINQ - lambda
Enumerable.Range(1, 10).Where(i => i % 3 == 0).Select(i => i * 10);

// linq.js - arrow function
Enumerable.range(1, 10).where(i => i % 3 == 0).select(i => i * 10);
// C# LINQ - anonymous type
array.Select((val, i) => new { Value = val, Index = i });

// linq.js - object literal
Enumerable.from(array).select((val, i) => ({ value: val, index: i}));

See sample/tutorial.js for more examples.

People

Yoshifumi Kawai developed the original version of this library, currently no longer maintained.

License

MIT License

Версии библиотеки

Версия
3.0.9