[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]public class BindServiceMethodAttribute:Attribute
Specifies the location of the service bind method for a gRPC service.
The bind method is typically generated code and is used to register a service's
methods with the server on startup.
The bind method signature takes a ServiceBinderBase and an optional
instance of the service base class, e.g. static void BindService(ServiceBinderBase, GreeterService).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 UTC."],[[["`BindServiceMethodAttribute` specifies the location of a gRPC service's bind method, which is used to register the service's methods with the server during startup."],["The bind method signature takes a `ServiceBinderBase` and an optional instance of the service base class, and is typically generated code."],["The `BindServiceMethodAttribute` class inherits from the `Attribute` class and ultimately the `object` class in the .NET framework."],["The class has two constructors, `BindServiceMethodAttribute(Type, string)`, that initializes a new instance of the class taking a type and a method name."],["It has two properties `BindMethodName` which gets the name of the bind method and `BindType` which gets the type the service method is defined on."]]],[]]