@@ -36,8 +36,8 @@ public TOutput Apply(TInput input)
36
36
}
37
37
public IObservable < TOutput > Apply ( IObservable < TInput > input )
38
38
{
39
- return Selector . Apply ( input )
40
- . Select ( ProjectorFunction )
39
+ return input
40
+ . Select ( Apply )
41
41
. DistinctUntilChanged ( ) ;
42
42
}
43
43
}
@@ -86,17 +86,8 @@ public TOutput Apply(TInput input)
86
86
}
87
87
public IObservable < TOutput > Apply ( IObservable < TInput > input )
88
88
{
89
- return Observable . CombineLatest (
90
- Selector1 . Apply ( input ) ,
91
- Selector2 . Apply ( input ) ,
92
- Tuple . Create
93
- )
94
- . Select ( x =>
95
- ProjectorFunction (
96
- x . Item1 ,
97
- x . Item2
98
- )
99
- )
89
+ return input
90
+ . Select ( Apply )
100
91
. DistinctUntilChanged ( ) ;
101
92
}
102
93
}
@@ -154,19 +145,8 @@ public TOutput Apply(TInput input)
154
145
}
155
146
public IObservable < TOutput > Apply ( IObservable < TInput > input )
156
147
{
157
- return Observable . CombineLatest (
158
- Selector1 . Apply ( input ) ,
159
- Selector2 . Apply ( input ) ,
160
- Selector3 . Apply ( input ) ,
161
- Tuple . Create
162
- )
163
- . Select ( x =>
164
- ProjectorFunction (
165
- x . Item1 ,
166
- x . Item2 ,
167
- x . Item3
168
- )
169
- )
148
+ return input
149
+ . Select ( Apply )
170
150
. DistinctUntilChanged ( ) ;
171
151
}
172
152
}
@@ -233,21 +213,8 @@ public TOutput Apply(TInput input)
233
213
}
234
214
public IObservable < TOutput > Apply ( IObservable < TInput > input )
235
215
{
236
- return Observable . CombineLatest (
237
- Selector1 . Apply ( input ) ,
238
- Selector2 . Apply ( input ) ,
239
- Selector3 . Apply ( input ) ,
240
- Selector4 . Apply ( input ) ,
241
- Tuple . Create
242
- )
243
- . Select ( x =>
244
- ProjectorFunction (
245
- x . Item1 ,
246
- x . Item2 ,
247
- x . Item3 ,
248
- x . Item4
249
- )
250
- )
216
+ return input
217
+ . Select ( Apply )
251
218
. DistinctUntilChanged ( ) ;
252
219
}
253
220
}
@@ -323,23 +290,8 @@ public TOutput Apply(TInput input)
323
290
}
324
291
public IObservable < TOutput > Apply ( IObservable < TInput > input )
325
292
{
326
- return Observable . CombineLatest (
327
- Selector1 . Apply ( input ) ,
328
- Selector2 . Apply ( input ) ,
329
- Selector3 . Apply ( input ) ,
330
- Selector4 . Apply ( input ) ,
331
- Selector5 . Apply ( input ) ,
332
- Tuple . Create
333
- )
334
- . Select ( x =>
335
- ProjectorFunction (
336
- x . Item1 ,
337
- x . Item2 ,
338
- x . Item3 ,
339
- x . Item4 ,
340
- x . Item5
341
- )
342
- )
293
+ return input
294
+ . Select ( Apply )
343
295
. DistinctUntilChanged ( ) ;
344
296
}
345
297
}
@@ -424,25 +376,8 @@ public TOutput Apply(TInput input)
424
376
}
425
377
public IObservable < TOutput > Apply ( IObservable < TInput > input )
426
378
{
427
- return Observable . CombineLatest (
428
- Selector1 . Apply ( input ) ,
429
- Selector2 . Apply ( input ) ,
430
- Selector3 . Apply ( input ) ,
431
- Selector4 . Apply ( input ) ,
432
- Selector5 . Apply ( input ) ,
433
- Selector6 . Apply ( input ) ,
434
- Tuple . Create
435
- )
436
- . Select ( x =>
437
- ProjectorFunction (
438
- x . Item1 ,
439
- x . Item2 ,
440
- x . Item3 ,
441
- x . Item4 ,
442
- x . Item5 ,
443
- x . Item6
444
- )
445
- )
379
+ return input
380
+ . Select ( Apply )
446
381
. DistinctUntilChanged ( ) ;
447
382
}
448
383
}
@@ -536,27 +471,8 @@ public TOutput Apply(TInput input)
536
471
}
537
472
public IObservable < TOutput > Apply ( IObservable < TInput > input )
538
473
{
539
- return Observable . CombineLatest (
540
- Selector1 . Apply ( input ) ,
541
- Selector2 . Apply ( input ) ,
542
- Selector3 . Apply ( input ) ,
543
- Selector4 . Apply ( input ) ,
544
- Selector5 . Apply ( input ) ,
545
- Selector6 . Apply ( input ) ,
546
- Selector7 . Apply ( input ) ,
547
- Tuple . Create
548
- )
549
- . Select ( x =>
550
- ProjectorFunction (
551
- x . Item1 ,
552
- x . Item2 ,
553
- x . Item3 ,
554
- x . Item4 ,
555
- x . Item5 ,
556
- x . Item6 ,
557
- x . Item7
558
- )
559
- )
474
+ return input
475
+ . Select ( Apply )
560
476
. DistinctUntilChanged ( ) ;
561
477
}
562
478
}
0 commit comments