แก้ไข

แชร์ผ่าน


PublishServiceCallback<TServiceType> Delegate

Definition

A generic delegate that references a method that publishes an instance of a service.

generic <typename TServiceType>
public delegate TServiceType PublishServiceCallback();
public delegate TServiceType PublishServiceCallback<TServiceType>();
type PublishServiceCallback<'ServiceType> = delegate of unit -> 'ServiceType
Public Delegate Function PublishServiceCallback(Of TServiceType)() As TServiceType 

Type Parameters

TServiceType

The type of the service to publish.

Return Value

TServiceType

An instance of the published service.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to