Перейти к содержимому
Abblix
Эта страница ещё не переведена.

ParametersProvider Class

Extracts parameters from an object by serializing it to a JSON element and enumerating its properties. Pure System.Text.Json, framework-neutral — the single implementation both the MVC and Minimal API transports use.

C#
public class ParametersProvider : Abblix.Oidc.Server.Common.Interfaces.IParametersProvider

Inheritance System.Object → ParametersProvider

Implements IParametersProvider

Methods

ParametersProvider.GetParameters(object) Method

Retrieves the parameters as name/value pairs from the specified object.

C#
public System.Collections.Generic.IEnumerable<(string name,string? value)> GetParameters(object obj);

Parameters

obj System.Object

The object to extract parameters from.

Implements GetParameters(object)

Returns

System.Collections.Generic.IEnumerable<<System.String,System.String>>
The parameter name/value pairs.