Skip to content

Methods_T_CodeJam_Services_ServiceProviderHelper

andrewvk edited this page Apr 7, 2016 · 3 revisions

ServiceProviderHelper Methods

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

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