FromServicesAttribute
이 콘텐츠는 아직 번역되지 않았습니다.
Namespace NetWiv · Assembly NetWiv.Core
public sealed class FromServicesAttribute : AttributeBinds a command parameter from the invocation’s service scope instead of the guest arguments. Use FromKeyedServicesAttribute for keyed services.
Service parameters are never read from JSON and are omitted from generated frontend bindings. A nullable parameter resolves to null when the service is not registered.
Constructors
Section titled “Constructors”FromServicesAttribute
Section titled “FromServicesAttribute”public FromServicesAttribute();