JsonRpcExtensions.WithJsonRpcSettings<T> Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
StreamJsonRpc'nin öğelerini uzak tarafa nasıl göndereceğini özelleştiren ayarlarla süsler IAsyncEnumerable<T> .
public static System.Collections.Generic.IAsyncEnumerable<T> WithJsonRpcSettings<T> (this System.Collections.Generic.IAsyncEnumerable<T> enumerable, StreamJsonRpc.JsonRpcEnumerableSettings? settings);
static member WithJsonRpcSettings : System.Collections.Generic.IAsyncEnumerable<'T> * StreamJsonRpc.JsonRpcEnumerableSettings -> System.Collections.Generic.IAsyncEnumerable<'T>
<Extension()>
Public Function WithJsonRpcSettings(Of T) (enumerable As IAsyncEnumerable(Of T), settings As JsonRpcEnumerableSettings) As IAsyncEnumerable(Of T)
Tür Parametreleri
- T
Sıra tarafından numaralandırılan öğenin türü.
Parametreler
- enumerable
- IAsyncEnumerable<T>
Süslenecek numaralandırılabilir.
- settings
- JsonRpcEnumerableSettings
Bu numaralandırılabilir ile ilişkilendirilecek ayarlar.
Döndürülenler
Düzenlenmiş numaralandırılabilir örnek.