Interface IAppContext
Contract for application contextual information.
Inherited Members
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
System.IDisposable.Dispose()
Namespace: Kephas.Application
Assembly: Kephas.Application.dll
Syntax
public interface IAppContext : IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposable
Properties
| Improve this Doc View SourceAppArgs
Gets the application arguments passed typically as command line arguments.
Declaration
IAppArgs AppArgs { get; }
Property Value
Type | Description |
---|---|
IAppArgs | The application arguments. |
AppResult
Gets or sets the application result.
Declaration
object AppResult { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The application result. |
Remarks
For console applications this is typically the integer return code.
AppRuntime
Gets the application runtime.
Declaration
IAppRuntime AppRuntime { get; }
Property Value
Type | Description |
---|---|
IAppRuntime |
Exception
Gets or sets the application root exception.
Declaration
Exception Exception { get; set; }
Property Value
Type | Description |
---|---|
System.Exception | The application root exception. |