You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
Introduce back some sort of EndpointCollection as a child of JasperRuntime. That would hold the policies.
the policies need to be evaluated when endpoints are first created
also evaluated when one needs to be created on the fly
publicinterfaceIEndpointPolicy{voidApply(Endpointendpoint,IJasperRuntimeruntime);}internalclassLambdaEndpointPolicy<T>:IEndpointPolicywhereT:Endpoint{privatereadonlyAction<T,IJasperRuntime>_configure;publicLambdaEndpointPolicy(Action<T,IJasperRuntime>configure){_configure=configure;}publicvoidApply(Endpointendpoint,IJasperRuntimeruntime){if(endpoint is T e) _configure(e, runtime);}}
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: