Table of Contents

Interface IResourcePathAvailabilityCheckerService

Namespace
FoundationaLLM.Common.Interfaces
Assembly
FoundationaLLM.Common.dll

Defines a mechanism to check the availability of a resource path in a certain context.

public interface IResourcePathAvailabilityCheckerService
Extension Methods

Remarks

Implementations of this interface should provide logic to determine whether a given resource path is available for use, such as limiting the exposed resource provider capabilities in certain APIs.

Methods

IsResourcePathAvailable(HttpMethod, ResourcePath)

Determines whether the specified resource path is available for the given HTTP method.

bool IsResourcePathAvailable(HttpMethod method, ResourcePath resourcePath)

Parameters

method HttpMethod

The HTTP method to check, such as Get or Post.

resourcePath ResourcePath

The resource path to evaluate for availability.

Returns

bool

true if the resource path is available for the specified HTTP method; otherwise, false.