我想将一个值传递给一个IOptions<T>参数。
IOptions<T>
我只能找到使用IOptions<T>配置的示例,但我需要在调用方法时定义自定义值。
c# asp.net-core
asp.net-core ×1
c# ×1