Class ServiceAttribute
The ServiceAttribute is used to mark a field or a property as a service instance. This attribute is used by the dependency injection system from the MVVM framework to inject services into the ViewModel (or any others kinds of service).
Inherited Members
Namespace: Unity.AppUI.MVVM
Assembly: Unity.AppUI.MVVM.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public class ServiceAttribute : Attribute