Skip to content

Methods_T_CodeJam_Services_ServiceProviderHelper

Andrew Koryavchenko edited this page Jul 4, 2017 · 3 revisions

ServiceProviderHelper Methods

The ServiceProviderHelper type exposes the following members.

Methods

 

Name Description
Public method Static member GetRequiredService(IServiceProvider, Type) Gets the service object of the specified type, or throws an exception if service not registered.
Public method Static member GetRequiredService(T)(IServiceProvider) Gets the service object of the specified type, or throws an exception if service not registered.
Public method Static member GetService(T) Gets the service object of the specified type.
Public method Static member Publish(T)(IServicePublisher, Func(IServicePublisher, T)) Publish service.
Public method Static member Publish(T)(IServicePublisher, T) Publish service.
  Back to Top

See Also

Reference

ServiceProviderHelper Class
CodeJam.Services Namespace

Clone this wiki locally