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 methodStatic member GetRequiredService(IServiceProvider, Type) Gets the service object of the specified type, or throws an exception if service not registered.
Public methodStatic member GetRequiredService(T)(IServiceProvider) Gets the service object of the specified type, or throws an exception if service not registered.
Public methodStatic member GetService(T) Gets the service object of the specified type.
Public methodStatic member Publish(T)(IServicePublisher, Func(IServicePublisher, T)) Publish service.
Public methodStatic member Publish(T)(IServicePublisher, T) Publish service.
  Back to Top

See Also

Reference

ServiceProviderHelper Class
CodeJam.Services Namespace

Clone this wiki locally