-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1f1064c
Showing
11 changed files
with
1,828 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
################################################################################ | ||
# This .gitignore file was automatically created by Microsoft(R) Visual Studio. | ||
################################################################################ | ||
|
||
*.suo | ||
*.user | ||
*.map | ||
/Linq.TypeScript/Linq.TypeScript/bin | ||
/Linq.TypeScript/Linq.TypeScript/obj | ||
/Linq.TypeScript/Linq.TypeScript/test.linq.typescript.js | ||
/Linq.TypeScript/Linq.TypeScript/test.linq.typescript.d.ts | ||
/Linq.TypeScript/Linq.TypeScript/linq.typescript.js |
1,039 changes: 1,039 additions & 0 deletions
1,039
Linq.TypeScript/.vs/config/applicationhost.config
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 14 | ||
VisualStudioVersion = 14.0.25420.1 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Linq.TypeScript", "Linq.TypeScript\Linq.TypeScript.csproj", "{5C8DE574-F8CD-4EC7-A4B3-4CC61A46EB4C}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{5C8DE574-F8CD-4EC7-A4B3-4CC61A46EB4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{5C8DE574-F8CD-4EC7-A4B3-4CC61A46EB4C}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{5C8DE574-F8CD-4EC7-A4B3-4CC61A46EB4C}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{5C8DE574-F8CD-4EC7-A4B3-4CC61A46EB4C}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<ProjectGuid>{5C8DE574-F8CD-4EC7-A4B3-4CC61A46EB4C}</ProjectGuid> | ||
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> | ||
<OutputType>Library</OutputType> | ||
<OutputPath>bin</OutputPath> | ||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> | ||
<DebugType>full</DebugType> | ||
<DebugSymbols>true</DebugSymbols> | ||
<TypeScriptToolsVersion>2.0</TypeScriptToolsVersion> | ||
<UseIISExpress>true</UseIISExpress> | ||
<IISExpressSSLPort /> | ||
<IISExpressAnonymousAuthentication /> | ||
<IISExpressWindowsAuthentication /> | ||
<IISExpressUseClassicPipelineMode /> | ||
<UseGlobalApplicationHostFile /> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Service Include="{4A0DDDB5-7A95-4FBF-97CC-616D07737A77}" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="index.html" /> | ||
<Content Include="web.config" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="web.Debug.config"> | ||
<DependentUpon>web.config</DependentUpon> | ||
</None> | ||
<None Include="web.Release.config"> | ||
<DependentUpon>web.config</DependentUpon> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="linq.typescript.d.ts" /> | ||
<TypeScriptCompile Include="linq.typescript.ts" /> | ||
<TypeScriptCompile Include="test.linq.typescript.ts"> | ||
<SubType>Code</SubType> | ||
</TypeScriptCompile> | ||
</ItemGroup> | ||
<PropertyGroup> | ||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">12.0</VisualStudioVersion> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<RootNamespace>Linq.TypeScript</RootNamespace> | ||
</PropertyGroup> | ||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\WebApplications\Microsoft.WebApplication.targets" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\WebApplications\Microsoft.WebApplication.targets')" /> | ||
<ProjectExtensions> | ||
<VisualStudio> | ||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> | ||
<WebProjectProperties> | ||
<UseIIS>True</UseIIS> | ||
<AutoAssignPort>True</AutoAssignPort> | ||
<DevelopmentServerPort>60514</DevelopmentServerPort> | ||
<DevelopmentServerVPath>/</DevelopmentServerVPath> | ||
<IISUrl>http://localhost:60514/</IISUrl> | ||
<NTLMAuthentication>False</NTLMAuthentication> | ||
<UseCustomServer>False</UseCustomServer> | ||
<CustomServerUrl> | ||
</CustomServerUrl> | ||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile> | ||
</WebProjectProperties> | ||
</FlavorProperties> | ||
</VisualStudio> | ||
</ProjectExtensions> | ||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'"> | ||
<TypeScriptRemoveComments>false</TypeScriptRemoveComments> | ||
<TypeScriptSourceMap>true</TypeScriptSourceMap> | ||
<TypeScriptTarget>ES5</TypeScriptTarget> | ||
<TypeScriptJSXEmit>None</TypeScriptJSXEmit> | ||
<TypeScriptCompileOnSaveEnabled>True</TypeScriptCompileOnSaveEnabled> | ||
<TypeScriptNoImplicitAny>False</TypeScriptNoImplicitAny> | ||
<TypeScriptModuleKind>None</TypeScriptModuleKind> | ||
<TypeScriptOutFile /> | ||
<TypeScriptOutDir /> | ||
<TypeScriptGeneratesDeclarations>True</TypeScriptGeneratesDeclarations> | ||
<TypeScriptNoEmitOnError>True</TypeScriptNoEmitOnError> | ||
<TypeScriptMapRoot /> | ||
<TypeScriptSourceRoot /> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)' == 'Release'"> | ||
<TypeScriptRemoveComments>true</TypeScriptRemoveComments> | ||
<TypeScriptSourceMap>false</TypeScriptSourceMap> | ||
</PropertyGroup> | ||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets')" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title></title> | ||
</head> | ||
<body> | ||
<script type="text/javascript" src="linq.typescript.js"></script> | ||
<script type="text/javascript" src="test.linq.typescript.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
declare namespace Linq { | ||
interface IEnumerable<T> { | ||
getEnumerator(): IEnumerator<T>; | ||
} | ||
interface IEnumerator<T> { | ||
current(): T; | ||
moveNext(): boolean; | ||
} | ||
interface IDictionary<TValue> { | ||
[key: string]: TValue; | ||
} | ||
function IsEnumerable<T>(obj: any): obj is IEnumerable<T>; | ||
interface ILinqEnumerable<T> extends IEnumerable<T> { | ||
selectMany<S>(selector: (t: T, i: number) => IEnumerable<S> | S): ILinqEnumerable<S>; | ||
select<S>(selector: (t: T, i: number) => S): ILinqEnumerable<S>; | ||
where(predicate: (t: T, i: number) => boolean): ILinqEnumerable<T>; | ||
apply(action: (t: T) => void): ILinqEnumerable<T>; | ||
forEach(action: (t: T) => void): void; | ||
toArray(): T[]; | ||
toDictionary<TValue>(keySelector: (t: T) => string, valueSelector: (t: T) => TValue): IDictionary<TValue>; | ||
join<TRight, TResult>(right: IEnumerable<TRight>, leftKey: (t: T) => any, rightKey: (r: TRight) => any, selector: (l: T, r: TRight) => TResult): ILinqEnumerable<TResult>; | ||
union(other: IEnumerable<T>): ILinqEnumerable<T>; | ||
take(count: number): ILinqEnumerable<T>; | ||
skip(count: number): ILinqEnumerable<T>; | ||
zip<S, R>(other: IEnumerable<S>, selector: (t: T, s: S) => R): ILinqEnumerable<R>; | ||
aggregate<S>(func: (t: T, acumulator: S) => S, seed?: S): S; | ||
} | ||
interface ILinqStatic { | ||
<T>(source: T[] | IEnumerable<T> | T): ILinqEnumerable<T>; | ||
empty<T>(): ILinqEnumerable<T>; | ||
generate<T>(generator: (i: number) => T): ILinqEnumerable<T>; | ||
repeat<T>(value: T, count: number): ILinqEnumerable<T>; | ||
} | ||
var linqStatic: ILinqStatic; | ||
} | ||
declare var linq: Linq.ILinqStatic; |
Oops, something went wrong.