@@ -40,7 +40,6 @@ public sealed class Mapped<In, Out> : CollectionEnvelope<Out>
40
40
/// <param name="src">source items</param>
41
41
public Mapped ( Func < In , Out > mapping , params In [ ] src ) : this ( mapping , new ManyOf < In > ( src ) )
42
42
{ }
43
- public static Mapped < In , Out > New ( Func < In , Out > mapping , params In [ ] src ) => new Mapped < In , Out > ( mapping , src ) ;
44
43
45
44
/// <summary>
46
45
/// ctor
@@ -50,7 +49,6 @@ public sealed class Mapped<In, Out> : CollectionEnvelope<Out>
50
49
public Mapped ( Func < In , Out > mapping , IEnumerator < In > src ) : this (
51
50
mapping , new ManyOf < In > ( src ) )
52
51
{ }
53
- public static Mapped < In , Out > New ( Func < In , Out > mapping , IEnumerator < In > src ) => new Mapped < In , Out > ( mapping , src ) ;
54
52
55
53
/// <summary>
56
54
/// ctor
@@ -60,7 +58,6 @@ public Mapped(Func<In, Out> mapping, IEnumerator<In> src) : this(
60
58
public Mapped ( Func < In , Out > mapping , IEnumerable < In > src ) : this (
61
59
mapping , new LiveCollection < In > ( src ) )
62
60
{ }
63
- public static Mapped < In , Out > New ( Func < In , Out > mapping , IEnumerable < In > src ) => new Mapped < In , Out > ( mapping , src ) ;
64
61
65
62
/// <summary>
66
63
/// ctor
@@ -72,7 +69,6 @@ public Mapped(Func<In, Out> mapping, ICollection<In> src) : base(() =>
72
69
false
73
70
)
74
71
{ }
75
- public static Mapped < In , Out > New ( Func < In , Out > mapping , ICollection < In > src ) => new Mapped < In , Out > ( mapping , src ) ;
76
72
}
77
73
78
74
// <summary>
@@ -82,12 +78,12 @@ public Mapped(Func<In, Out> mapping, ICollection<In> src) : base(() =>
82
78
/// <typeparam name="Out">target type</typeparam>
83
79
public static class Mapped
84
80
{
85
- public static Mapped < In , Out > New < In , Out > ( Func < In , Out > mapping , params In [ ] src ) => new Mapped < In , Out > ( mapping , src ) ;
81
+ public static ICollection < Out > New < In , Out > ( Func < In , Out > mapping , params In [ ] src ) => new Mapped < In , Out > ( mapping , src ) ;
86
82
87
- public static Mapped < In , Out > New < In , Out > ( Func < In , Out > mapping , IEnumerator < In > src ) => new Mapped < In , Out > ( mapping , src ) ;
83
+ public static ICollection < Out > New < In , Out > ( Func < In , Out > mapping , IEnumerator < In > src ) => new Mapped < In , Out > ( mapping , src ) ;
88
84
89
- public static Mapped < In , Out > New < In , Out > ( Func < In , Out > mapping , IEnumerable < In > src ) => new Mapped < In , Out > ( mapping , src ) ;
85
+ public static ICollection < Out > New < In , Out > ( Func < In , Out > mapping , IEnumerable < In > src ) => new Mapped < In , Out > ( mapping , src ) ;
90
86
91
- public static Mapped < In , Out > New < In , Out > ( Func < In , Out > mapping , ICollection < In > src ) => new Mapped < In , Out > ( mapping , src ) ;
87
+ public static ICollection < Out > New < In , Out > ( Func < In , Out > mapping , ICollection < In > src ) => new Mapped < In , Out > ( mapping , src ) ;
92
88
}
93
89
}
0 commit comments