Show / Hide Table of Contents

Interface IServiceRef

Contract used to define the type of properties referencing services.

Namespace: Kephas.Data
Assembly: Kephas.Data.dll
Syntax
public interface IServiceRef
Remarks

This type of reference is used typically when the referenced service allows multiple implementations and the entity containing the property references one of these implementations.

Properties

| Improve this Doc View Source

ServiceName

Gets or sets the name of the referenced service.

Declaration
string ServiceName { get; set; }
Property Value
Type Description
System.String

The name of the service.

| Improve this Doc View Source

ServiceType

Gets the type of the referenced service.

Declaration
Type ServiceType { get; }
Property Value
Type Description
System.Type

The type of the referenced service.

Methods

| Improve this Doc View Source

GetService()

Gets the referenced service.

Declaration
object GetService()
Returns
Type Description
System.Object

The referenced service.

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