Show / Hide Table of Contents

Class DefaultNamedServiceProvider

A default named service provider.

Inheritance
System.Object
DefaultNamedServiceProvider
Implements
INamedServiceProvider
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Services
Assembly: Kephas.Core.dll
Syntax
[OverridePriority(Priority.Low)]
public class DefaultNamedServiceProvider : INamedServiceProvider

Constructors

| Improve this Doc View Source

DefaultNamedServiceProvider(ICompositionContext)

Initializes a new instance of the DefaultNamedServiceProvider class.

Declaration
public DefaultNamedServiceProvider(ICompositionContext compositionContext)
Parameters
Type Name Description
ICompositionContext compositionContext

Context for the composition.

Methods

| Improve this Doc View Source

GetNamedService<TService>(String)

Gets the service with the provided name.

Declaration
public TService GetNamedService<TService>(string serviceName)
Parameters
Type Name Description
System.String serviceName

Name of the service.

Returns
Type Description
TService

The named service.

Type Parameters
Name Description
TService

Type of the service.

Implements

INamedServiceProvider

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX