Skip to main content

IParameterValidator Interface

Abblix.Oidc.Server

Abblix.Oidc.Server.Common.Interfaces

IParameterValidator Interface

Provides a method for validating that a parameter is and not null.

public interface IParameterValidator

Methods

IParameterValidator.Required<T>(T, string) Method

Validates that a parameter is and not null.

void Required<T>(T? value, string name)
where T : class;

Type parameters

T

The type of the parameter.

Parameters

value T

The value of the parameter.

name System.String

The name of the parameter.