Show / Hide Table of Contents

Interface IAppRuntime

Interface for abstracting away the runtime for the application.

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

Methods

| Improve this Doc View Source

GetAppAssemblies(Func<AssemblyName, Boolean>)

Gets the application assemblies.

Declaration
IEnumerable<Assembly> GetAppAssemblies(Func<AssemblyName, bool> assemblyFilter = null)
Parameters
Type Name Description
System.Func<System.Reflection.AssemblyName, System.Boolean> assemblyFilter

A filter for the assemblies (optional).

Returns
Type Description
System.Collections.Generic.IEnumerable<System.Reflection.Assembly>

An enumeration of application assemblies.

| Improve this Doc View Source

GetAppBinDirectories()

Gets the application bin folders from where application is loaded.

Declaration
IEnumerable<string> GetAppBinDirectories()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

An enumerator that allows foreach to be used to process the application bin folders in this collection.

| Improve this Doc View Source

GetAppLocation()

Gets the application location (directory where the application lies).

Declaration
string GetAppLocation()
Returns
Type Description
System.String

A path indicating the application location.

| Improve this Doc View Source

GetHostAddress()

Gets host address.

Declaration
IPAddress GetHostAddress()
Returns
Type Description
System.Net.IPAddress

The host address.

| Improve this Doc View Source

GetHostName()

Gets host name.

Declaration
string GetHostName()
Returns
Type Description
System.String

The host name.

Extension Methods

AppRuntimeExtensions.GetAppInfo(IAppRuntime)
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)
AppRuntimeExtensions.GetAppId(IAppRuntime)
AppRuntimeExtensions.GetAppVersion(IAppRuntime)
AppRuntimeExtensions.GetAppInstanceId(IAppRuntime)
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)
ApplicationExtensions.GetFeatures(IAppRuntime)
ApplicationExtensions.ContainsFeature(IAppRuntime, String)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX