Show / Hide Table of Contents

Interface IContext

Defines a base contract for context-dependent operations.

Inherited Members
IExpando.HasDynamicMember(String)
IExpando.ToDictionary(Func<String, String>, Func<Object, Object>)
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
IIndexable.Item[String]
ILoggable.Logger
System.IDisposable.Dispose()
Namespace: Kephas.Services
Assembly: Kephas.Core.dll
Syntax
public interface IContext : IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposable

Properties

| Improve this Doc View Source

AmbientServices

Gets the ambient services.

Declaration
IAmbientServices AmbientServices { get; }
Property Value
Type Description
IAmbientServices

The ambient services.

| Improve this Doc View Source

CompositionContext

Gets a context for the dependency injection/composition.

Declaration
ICompositionContext CompositionContext { get; }
Property Value
Type Description
ICompositionContext

The composition context.

| Improve this Doc View Source

Identity

Gets or sets the authenticated identity.

Declaration
IIdentity Identity { get; set; }
Property Value
Type Description
System.Security.Principal.IIdentity

The authenticated identity.

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>)
ExpandoExtensions.Merge<T>(T, Object)
ExpandoExtensions.GetLaxValue<T>(IIndexable, String, T)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
ContextExtensions.WithIdentity<TContext>(TContext, IIdentity)
ContextExtensions.WithLogger<TContext>(TContext, ILogger)
ContextExtensions.AddResource<TContext>(TContext, IDisposable[])
MessageBrokerExtensions.CreateBrokeredMessageBuilder(IContext)
ContextExtensions.InitialData(IContext)
ContextExtensions.WithInitialData<TContext>(TContext, IEnumerable<(Object entity, ChangeState changeState)>)
ContextExtensions.WithInitialData<TContext>(TContext, IEnumerable<Object>)
ContextExtensions.WithInitialData<TContext>(TContext, IEnumerable<IChangeStateTrackableEntityEntry>)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX