Class ServiceDescriptor
Describes a service with its service type, implementation, and lifetime.
Inherited Members
Namespace: Unity.AppUI.MVVM
Assembly: solution.dll
Syntax
public class ServiceDescriptor
Constructors
Name | Description |
---|---|
ServiceDescriptor(Type, Type, ServiceLifetime) | Creates a new instance of ServiceDescriptor. |
Properties
Name | Description |
---|---|
implementationType | Gets the implementation type of the service. |
lifetime | Gets the lifetime of the service. |
serviceType | Gets the service type. |
Methods
Name | Description |
---|---|
Singleton(Type, Type) | Creates a new instance of ServiceDescriptor as a singleton. |