Share via


TypeInjectionElement.InjectionMembers 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.

This element is just a collection of InjectionMemberElements. This property controls that collection.

Namespace:  Microsoft.Practices.Unity.Configuration
Assembly:  Microsoft.Practices.Unity.Configuration (in Microsoft.Practices.Unity.Configuration.dll)

Syntax

'Declaration
<ConfigurationCollectionAttribute(GetType(InjectionMemberElementCollection), AddItemName := "injector")> _
<ConfigurationPropertyAttribute("", IsDefaultCollection := True)> _
Public ReadOnly Property InjectionMembers As InjectionMemberElementCollection
[ConfigurationCollectionAttribute(typeof(InjectionMemberElementCollection), AddItemName = "injector")]
[ConfigurationPropertyAttribute("", IsDefaultCollection = true)]
public InjectionMemberElementCollection InjectionMembers { get; }
[ConfigurationCollectionAttribute(typeof(InjectionMemberElementCollection), AddItemName = L"injector")]
[ConfigurationPropertyAttribute(L"", IsDefaultCollection = true)]
public:
property InjectionMemberElementCollection^ InjectionMembers {
    InjectionMemberElementCollection^ get ();
}
public function get InjectionMembers () : InjectionMemberElementCollection

See Also

TypeInjectionElement Class

Microsoft.Practices.Unity.Configuration Namespace