Skip to content

Commit 642964f

Browse files
committed
update package version
1 parent b907943 commit 642964f

5 files changed

Lines changed: 61 additions & 32 deletions

File tree

Binary file not shown.

LinqGen.Unity/Packages/com.cathei.linqgen/Runtime/Core/Collections/CollectionExtensions.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LinqGen.Unity/Packages/com.cathei.linqgen/Runtime/Core/Stubs/StubExtensions.Evaluations.cs

Lines changed: 46 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -78,48 +78,66 @@ public static int Min<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable)
7878
throw new NotImplementedException();
7979
}
8080

81-
public static int Min<T, TUp, TComparer>(this IStub<IEnumerable<T>, TUp> enumerable, TComparer comparer)
82-
where TComparer : IComparer<T>
81+
public static int Min<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable, IComparer<T> comparer)
8382
{
8483
throw new NotImplementedException();
8584
}
8685

87-
// public static int MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
88-
// Func<T, TKey> selector, IComparer<TKey>? comparer = null)
89-
// {
90-
// throw new NotImplementedException();
91-
// }
92-
//
93-
// public static int MinBy<T, TUp, TKey, TComparer>(this IStub<IEnumerable<T>, TUp> enumerable,
94-
// IStructFunction<T, TKey> keySelector, TComparer comparer)
95-
// where TComparer : IComparer<TKey>
96-
// {
97-
// throw new NotImplementedException();
98-
// }
86+
public static int MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable, Func<T, TKey> keySelector)
87+
{
88+
throw new NotImplementedException();
89+
}
90+
91+
public static int MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
92+
Func<T, TKey> keySelector, IComparer<TKey> comparer)
93+
{
94+
throw new NotImplementedException();
95+
}
96+
97+
public static int MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
98+
IStructFunction<T, TKey> keySelector)
99+
{
100+
throw new NotImplementedException();
101+
}
102+
103+
public static int MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
104+
IStructFunction<T, TKey> keySelector, IComparer<TKey> comparer)
105+
{
106+
throw new NotImplementedException();
107+
}
99108

100109
public static int Max<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable)
101110
{
102111
throw new NotImplementedException();
103112
}
104113

105-
public static int Max<T, TUp, TComparer>(this IStub<IEnumerable<T>, TUp> enumerable, TComparer comparer)
106-
where TComparer : IComparer<T>
114+
public static int Max<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable, IComparer<T> comparer)
107115
{
108116
throw new NotImplementedException();
109117
}
110118

111-
// public static int MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
112-
// Func<T, TKey> selector, IComparer<TKey>? comparer = null)
113-
// {
114-
// throw new NotImplementedException();
115-
// }
116-
//
117-
// public static int MaxBy<T, TUp, TKey, TComparer>(this IStub<IEnumerable<T>, TUp> enumerable,
118-
// IStructFunction<T, TKey> keySelector, TComparer comparer)
119-
// where TComparer : IComparer<TKey>
120-
// {
121-
// throw new NotImplementedException();
122-
// }
119+
public static int MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable, Func<T, TKey> keySelector)
120+
{
121+
throw new NotImplementedException();
122+
}
123+
124+
public static int MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
125+
Func<T, TKey> keySelector, IComparer<TKey> comparer)
126+
{
127+
throw new NotImplementedException();
128+
}
129+
130+
public static int MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
131+
IStructFunction<T, TKey> keySelector)
132+
{
133+
throw new NotImplementedException();
134+
}
135+
136+
public static int MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
137+
IStructFunction<T, TKey> keySelector, IComparer<TKey> comparer)
138+
{
139+
throw new NotImplementedException();
140+
}
123141

124142
public static List<T> ToList<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable)
125143
{

LinqGen.Unity/Packages/com.cathei.linqgen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"author": {
55
"name": "Maxwell Keonwoo Kang"
66
},
7-
"version": "0.1.1",
7+
"version": "0.2.0",
88
"unity": "2020.1",
99
"description": "Fast Linq-to-object source generator",
1010
"license": "MIT",

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ Install from NuGet, both [LinqGen](https://www.nuget.org/packages/LinqGen) as li
1414

1515
```xml
1616
<ItemGroup>
17-
<PackageReference Include="LinqGen" Version="0.1.1" />
18-
<PackageReference Include="LinqGen.Generator" Version="0.1.1" />
17+
<PackageReference Include="LinqGen" Version="0.2.0" />
18+
<PackageReference Include="LinqGen.Generator" Version="0.2.0" />
1919
</ItemGroup>
2020
```
2121

2222
For Unity, you can install as git package from Unity Package Manager.
2323
```
24-
https://github.com/cathei/LinqGen.git?path=LinqGen.Unity/Packages/com.cathei.linqgen#v0.1.0
24+
https://github.com/cathei/LinqGen.git?path=LinqGen.Unity/Packages/com.cathei.linqgen#v0.2.0
2525
```
2626
Or install via OpenUPM.
2727
```

0 commit comments

Comments
 (0)