Class MessagingModelRegistry
A messaging model registry.
Inheritance
System.Object
MessagingModelRegistry
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.Messaging.Model.Runtime.ModelRegistries
Assembly: Kephas.Messaging.Model.dll
Syntax
public class MessagingModelRegistry : IRuntimeModelRegistry
Constructors
| Improve this Doc View SourceMessagingModelRegistry(IAppRuntime, ITypeLoader)
Initializes a new instance of the MessagingModelRegistry class.
Declaration
public MessagingModelRegistry(IAppRuntime appRuntime, ITypeLoader typeLoader)
Parameters
Type | Name | Description |
---|---|---|
IAppRuntime | appRuntime | The application runtime. |
ITypeLoader | typeLoader | The type loader. |
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. |