Class DotBoxDServiceAttribute
- Namespace
- DotBoxD.Services.Attributes
- Assembly
- DotBoxD.Services.dll
Marks an interface as a DotBoxD service. The source generator will create client proxy and server dispatcher implementations for this interface.
[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
public sealed class DotBoxDServiceAttribute : Attribute
- Inheritance
-
DotBoxDServiceAttribute
- Inherited Members
Properties
Name
Optional custom service name. If not specified, the interface name is used.
public string? Name { get; set; }