Skip to content

Methods_T_CodeJam_Services_IServicePublisher

andrewvk edited this page Apr 7, 2016 · 3 revisions

IServicePublisher Methods

[This is preliminary documentation and is subject to change.]

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

IServicePublisher Interface
CodeJam.Services Namespace

Clone this wiki locally