public static Option <List <TResult> > ProjectToOption <TResult>(this IList @this) => @this.Adapt <List <TResult> >();
 public static async Task <List <TResult> > ProjectToAsync <TSource, TResult>(this IList <TSource> @this) => await Task.Run(() => @this.Adapt <List <TResult> >());
 public static async Task <Option <List <TResult> > > ProjectToOptionAsync <TResult>(this IList @this) => await Task.Run(() => @this.Adapt <List <TResult> >());
Ejemplo n.º 4
0
        public void Adapt()
        {
            IList <string> adapter = list.Adapt <int, string>();

            Assert.NotNull(adapter);
        }