Class OrderedServiceCollectionExtensions
An ordered service collection extensions.
Inheritance
System.Object
OrderedServiceCollectionExtensions
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.Services
Assembly: Kephas.Core.dll
Syntax
public static class OrderedServiceCollectionExtensions
Methods
| Improve this Doc View SourceOrder<T, TMetadata>(IEnumerable<IExportFactory<T, TMetadata>>)
Orders the given factories.
Declaration
public static IOrderedServiceCollection<T, TMetadata> Order<T, TMetadata>(this IEnumerable<IExportFactory<T, TMetadata>> factories)
where TMetadata : AppServiceMetadata
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IExportFactory<T, TMetadata>> | factories | The factories to act on. |
Returns
Type | Description |
---|---|
IOrderedServiceCollection<T, TMetadata> | A list of ordered services. |
Type Parameters
Name | Description |
---|---|
T | The service type. |
TMetadata | Type of the metadata. |