-
Notifications
You must be signed in to change notification settings - Fork 36
M_CodeJam_Services_IServicePublisher_Publish
Andrew Koryavchenko edited this page Jun 17, 2018
·
5 revisions
Publish service.
Namespace: CodeJam.Services
Assembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0
C#
IDisposable Publish(
Type serviceType,
Func<IServicePublisher, Object> instanceFactory
)
VB
Function Publish (
serviceType As Type,
instanceFactory As Func(Of IServicePublisher, Object)
) As IDisposable
F#
abstract Publish :
serviceType : Type *
instanceFactory : Func<IServicePublisher, Object> -> IDisposable
- serviceType
- Type: System.Type
Type of service object to publish. - instanceFactory
- Type: System.Func(IServicePublisher, Object)
Factory to create service instance
Type: IDisposable
Disposable cookie to conceal published service
IServicePublisher Interface
Publish Overload
CodeJam.Services Namespace