UnityContainerElement.Instances Property
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The latest Unity Application Block information can be found at the Unity Application Block site. |
The collection of <instance> element that specify which instances to add to the container.
Namespace: Microsoft.Practices.Unity.Configuration
Assembly: Microsoft.Practices.Unity.Configuration (in Microsoft.Practices.Unity.Configuration.dll)
Syntax
'Declaration
<ConfigurationPropertyAttribute("instances")> _
<ConfigurationCollectionAttribute(GetType(UnityInstanceElementCollection))> _
Public ReadOnly Property Instances As UnityInstanceElementCollection
[ConfigurationPropertyAttribute("instances")]
[ConfigurationCollectionAttribute(typeof(UnityInstanceElementCollection))]
public UnityInstanceElementCollection Instances { get; }
[ConfigurationPropertyAttribute(L"instances")]
[ConfigurationCollectionAttribute(typeof(UnityInstanceElementCollection))]
public:
property UnityInstanceElementCollection^ Instances {
UnityInstanceElementCollection^ get ();
}
public function get Instances () : UnityInstanceElementCollection