Skip to content

T_CodeJam_Services_IServicePublisher

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

IServicePublisher Interface

Service publisher interface.

Namespace: CodeJam.Services
Assembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0

Syntax

C#

public interface IServicePublisher : IServiceProvider

VB

Public Interface IServicePublisher
	Inherits IServiceProvider

F#

type IServicePublisher =  
    interface
        interface IServiceProvider
    end

The IServicePublisher type exposes the following members.

Methods

 

Name Description
Public method GetService Gets the service object of the specified type. (Inherited from IServiceProvider.)
Public method Publish(Type, Func(IServicePublisher, Object)) Publish service.
Public method Publish(Type, Object) Publish service.
  Back to Top

Extension Methods

 

Name Description
Public Extension Method GetRequiredService(Type) Overloaded.
Gets the service object of the specified type, or throws an exception if service not registered. (Defined by ServiceProviderHelper.)
Public Extension Method GetRequiredService(T)() Overloaded.
Gets the service object of the specified type, or throws an exception if service not registered. (Defined by ServiceProviderHelper.)
Public Extension Method GetService(T) Gets the service object of the specified type. (Defined by ServiceProviderHelper.)
Public Extension Method Publish(T)(T) Overloaded.
Publish service. (Defined by ServiceProviderHelper.)
Public Extension Method Publish(T)(Func(IServicePublisher, T)) Overloaded.
Publish service. (Defined by ServiceProviderHelper.)
  Back to Top

See Also

Reference

CodeJam.Services Namespace

Clone this wiki locally