Class ServerExtensionMethodAttribute
- Namespace
- DotBoxD.Abstractions
- Assembly
- DotBoxD.Abstractions.dll
Requests a generated C# 14 extension method on receiverType that forwards to the
source-generated server extension client. When name is omitted, the kernel method name
is used; supply a custom name to make the receiver's domain API read naturally or avoid conflicts.
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class ServerExtensionMethodAttribute : Attribute
- Inheritance
-
ServerExtensionMethodAttribute
- Inherited Members
Constructors
ServerExtensionMethodAttribute(Type?, string?)
Requests a generated C# 14 extension method on receiverType that forwards to the
source-generated server extension client. When name is omitted, the kernel method name
is used; supply a custom name to make the receiver's domain API read naturally or avoid conflicts.
public ServerExtensionMethodAttribute(Type? receiverType = null, string? name = null)
Parameters
Properties
Name
public string? Name { get; }
Property Value
ReceiverType
public Type? ReceiverType { get; }