Class AppServicesRegistry
An application service contracts registry.
Inheritance
System.Object
AppServicesRegistry
Implements
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.Model.Runtime.ModelRegistries
Assembly: Kephas.Model.dll
Syntax
public class AppServicesRegistry : IRuntimeModelRegistry
Constructors
| Improve this Doc View SourceAppServicesRegistry(IAmbientServices)
Initializes a new instance of the AppServicesRegistry class.
Declaration
public AppServicesRegistry(IAmbientServices ambientServices)
Parameters
Type | Name | Description |
---|---|---|
IAmbientServices | ambientServices | The ambient services. |
Methods
| Improve this Doc View SourceGetRuntimeElementsAsync(CancellationToken)
Gets the runtime elements.
Declaration
public Task<IEnumerable<object>> GetRuntimeElementsAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<System.Object>> | A promise of an enumeration of runtime elements. |