Show / Hide Table of Contents

Interface IContextFactory

Interface for context factory.

Namespace: Kephas.Services
Assembly: Kephas.Core.dll
Syntax
[SingletonAppServiceContract]
public interface IContextFactory

Methods

| Improve this Doc View Source

CreateContext<TContext>(Object[])

Creates a typed context.

Declaration
TContext CreateContext<TContext>(params object[] args)

    where TContext : IContext
Parameters
Type Name Description
System.Object[] args

A variable-length parameters list containing arguments.

Returns
Type Description
TContext

The new context.

Type Parameters
Name Description
TContext

Type of the context.

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)
SerializationExtensions.CreateOrUpdateSerializationContext<TMediaType>(IContextFactory, ISerializationContext, Action<ISerializationContext>)
SerializationExtensions.CreateSerializationContext<TMediaType>(IContextFactory, Func<Object>)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX