AnnotationService Class
Service class that allows metadata to be added to classes by means of a body class.
Namespace: Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.Services
Assembly: Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)
Syntax
'Declaration
Public Class AnnotationService _
Inherits TypeDescriptionProvider _
Implements IDisposable
public class AnnotationService : TypeDescriptionProvider,
IDisposable
public ref class AnnotationService : public TypeDescriptionProvider,
IDisposable
public class AnnotationService extends TypeDescriptionProvider implements IDisposable
Remarks
In order to get an instance of this class, declare it as a constructor argument on the consuming component or use the IUnityContainer to obtain an instance from code.
Remarks
A body-class (or substitute type) is a class that declares property with matching names and allows custom attributes to be added without modifying the real configuration class.
Inheritance Hierarchy
System.Object
System.ComponentModel.TypeDescriptionProvider
Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.Services.AnnotationService
See Also
Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.Services Namespace