Show / Hide Table of Contents

Class AspNetAppContext

The OWIN web application context.

Inheritance
System.Object
System.Dynamic.DynamicObject
ExpandoBase
Expando
Context
AppContext
AspNetAppContext
Implements
IAspNetAppContext
IAppContext
IContext
IExpando
System.Dynamic.IDynamicMetaObjectProvider
IIndexable
ILoggable
System.IDisposable
Inherited Members
AppContext.AppRuntime
AppContext.AppArgs
AppContext.Exception
AppContext.AppResult
Context.AmbientServices
Context.CompositionContext
Context.Identity
Context.Logger
Context.Dispose()
Context.ValidateIdentity(IIdentity, IIdentity)
Context.SetCompositionContext(ICompositionContext)
Context.SetAmbientServices(IAmbientServices)
Context.Dispose(Boolean)
ExpandoBase.Item[String]
ExpandoBase.GetDynamicMemberNames()
ExpandoBase.HasDynamicMember(String)
ExpandoBase.TryGetMember(GetMemberBinder, Object)
ExpandoBase.TrySetMember(SetMemberBinder, Object)
ExpandoBase.TryInvokeMember(InvokeMemberBinder, Object[], Object)
ExpandoBase.ToDictionary(Func<String, String>, Func<Object, Object>)
ExpandoBase.GetInnerObjectTypeInfo()
ExpandoBase.GetThisTypeInfo()
ExpandoBase.TryGetValue(String, Object)
ExpandoBase.TrySetValue(String, Object)
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
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.Application.AspNetCore.Application
Assembly: Kephas.Application.AspNetCore.dll
Syntax
public class AspNetAppContext : AppContext, IAspNetAppContext, IAppContext, IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposable

Constructors

| Improve this Doc View Source

AspNetAppContext(IHostingEnvironment, IConfiguration, IAmbientServices, IAppRuntime, IAppArgs)

Initializes a new instance of the AspNetAppContext class.

Declaration
public AspNetAppContext(IHostingEnvironment hostingEnvironment, IConfiguration configuration, IAmbientServices ambientServices = null, IAppRuntime appRuntime = null, IAppArgs appArgs = null)
Parameters
Type Name Description
Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment

The hosting environment.

Microsoft.Extensions.Configuration.IConfiguration configuration

The ASP.NET configuration.

IAmbientServices ambientServices

Optional. The ambient services. If not provided, Instance will be considered.

IAppRuntime appRuntime

Optional. The application runtime.

IAppArgs appArgs

Optional. The application arguments.

Properties

| Improve this Doc View Source

AppBuilder

Gets the application builder.

Declaration
public IApplicationBuilder AppBuilder { get; }
Property Value
Type Description
Microsoft.AspNetCore.Builder.IApplicationBuilder

The application builder.

| Improve this Doc View Source

Configuration

Gets the ASP.NET configuration.

Declaration
public IConfiguration Configuration { get; }
Property Value
Type Description
Microsoft.Extensions.Configuration.IConfiguration

The ASP.NET configuration.

| Improve this Doc View Source

HostingEnvironment

Gets the hosting environment.

Declaration
public IHostingEnvironment HostingEnvironment { get; }
Property Value
Type Description
Microsoft.AspNetCore.Hosting.IHostingEnvironment

The hosting environment.

Implements

IAspNetAppContext
IAppContext
IContext
IExpando
System.Dynamic.IDynamicMetaObjectProvider
IIndexable
ILoggable
System.IDisposable

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