/// <summary>
        /// Return the InjectionMember object represented by this configuration
        /// element.
        /// </summary>
        /// <returns>The injection member object.</returns>
        public override InjectionMember CreateInjectionMember()
        {
            if (valueElement == null)
            {
                valueElement = new DependencyValueElement();
            }
            valueElement.TypeResolver = TypeResolver;
            InjectionParameterValue param = valueElement.CreateParameterValue(TypeResolver.ResolveType(PropertyTypeName));

            return(new InjectionProperty(Name, param));
        }
 /// <summary>
 /// Get the <see cref="InjectionParameterValue"/> object for this parameter
 /// to feed to the container configuration API.
 /// </summary>
 /// <returns>The created <see cref="InjectionParameterValue"/> object.</returns>
 public InjectionParameterValue CreateInjectionParameterValue()
 {
     valueElement.TypeResolver = TypeResolver;
     return(valueElement.CreateParameterValue(TypeResolver.ResolveType(ParameterTypeName)));
 }