Class AppRuntimeExtensions
Extension methods for IAppRuntime.
Inheritance
System.Object
AppRuntimeExtensions
Inherited Members
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
Assembly: Kephas.Core.dll
Syntax
public static class AppRuntimeExtensions
Methods
| Improve this Doc View SourceGetAppId(IAppRuntime)
Gets the identifier of the application.
Declaration
public static string GetAppId(this IAppRuntime appRuntime)
Parameters
Type | Name | Description |
---|---|---|
IAppRuntime | appRuntime | The app runtime to act on. |
Returns
Type | Description |
---|---|
System.String | The identifier of the application. |
GetAppInstanceId(IAppRuntime)
Gets the identifier of the application instance.
Declaration
public static string GetAppInstanceId(this IAppRuntime appRuntime)
Parameters
Type | Name | Description |
---|---|---|
IAppRuntime | appRuntime | The app runtime to act on. |
Returns
Type | Description |
---|---|
System.String | The identifier of the application instance. |
GetAppVersion(IAppRuntime)
Gets the version of the application.
Declaration
public static string GetAppVersion(this IAppRuntime appRuntime)
Parameters
Type | Name | Description |
---|---|---|
IAppRuntime | appRuntime | The app runtime to act on. |
Returns
Type | Description |
---|---|
System.String | The version of the application. |