Skip to content

DepAttribute

1 min read

Import: import system.webapi;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

DepAttribute

Injects and memoizes a dependency function once per request.

public struct DepAttribute

provider

Dependency function to evaluate for this parameter or replace for this application.

public provider: DeclarationPath

cache

Whether the dependency result is reused within this request; omitted means true.

public cache: Option<bool>