ServiceAttribute Members
Indicates that a class should be automatically registered as a service into the application's root WorkItem.
The following tables list the members exposed by the ServiceAttribute type.
Public Constructors
Name | Description | |
---|---|---|
ServiceAttribute | Overloaded. |
Top
Public Properties
Name | Description | |
---|---|---|
AddOnDemand | Specifies that the service instance will be created and added to the container upon request of that service (delayed creation). | |
RegisterAs | The service type implemented by the attributed class. This is the type that will be used to register the service with the WorkItem. | |
TypeId | (Inherited from Attribute.) |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Equals | Overloaded. (Inherited from Attribute.) | |
GetCustomAttribute | Overloaded. (Inherited from Attribute.) | |
GetCustomAttributes | Overloaded. (Inherited from Attribute.) | |
GetHashCode | (Inherited from Attribute.) | |
GetType | (Inherited from Object.) | |
IsDefaultAttribute | (Inherited from Attribute.) | |
IsDefined | Overloaded. (Inherited from Attribute.) | |
Match | (Inherited from Attribute.) | |
ReferenceEquals | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |
Top
See Also
Reference
ServiceAttribute Class
Microsoft.Practices.CompositeUI Namespace