Interface IAppRuntime
Interface for abstracting away the runtime for the application.
Inherited Members
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
Namespace: Kephas.Application
Assembly: Kephas.Core.dll
Syntax
public interface IAppRuntime : IExpando, IDynamicMetaObjectProvider, IIndexable
Methods
| Improve this Doc View SourceGetAppAssemblies(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. |
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. |
GetAppLocation()
Gets the application location (directory where the application lies).
Declaration
string GetAppLocation()
Returns
Type | Description |
---|---|
System.String | A path indicating the application location. |
GetHostAddress()
Gets host address.
Declaration
IPAddress GetHostAddress()
Returns
Type | Description |
---|---|
System.Net.IPAddress | The host address. |
GetHostName()
Gets host name.
Declaration
string GetHostName()
Returns
Type | Description |
---|---|
System.String | The host name. |