+ IAsyncEnumerable<int> ProduceNumbers(int start, int end)
+ {
+ return new AsyncEnumerable<int>(async yield => {
+ for (int number = start; number <= end; number++)
+ await yield.ReturnAsync(number);
+ });
+ }
+
+ async Task ConsumeAsync()
+ {
+ var asyncEnumerableCollection = ProduceNumbers(start: 1, end: 10);
+ await asyncEnumerableCollection.ForEachAsync(async number => {
+ await Console.Out.WriteLineAsync(number);
+ });
+ }
+
+
+
+
+ [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+ [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+ [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
+ [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
+
+
+
+
+
+
+
+
+
+
+
+
+ + Abstract result returned by a search query. + Use pattern matching to handle specific instances of this type. +
+
+ Can be either one of the following:
+
+
+