Code Samples in Help File

Feb 14, 2008 at 5:15 PM
Not a huge deal, but the VB code samples in the help file under "Entering Configuration Information/Loading Configuration Information into a Container" are not completely VB. The first line is VB, the second and 3rd lines are C# (sort of).

Example:

Dim container As IUnityContainer = New UnityContainer()
UnityConfigurationSection section _
= (UnityConfigurationSection)ConfigurationManager.GetSection("unity")
section.Containers("containerOne").GetConfigCommand().Configure(parentContainer)
section.Containers("nestedChildContainer").GetConfigCommand().Configure(childContainer)

Feb 14, 2008 at 7:31 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.