Click or drag to resize

ConfigurationExtensionsGetProperties Method

Converts configured property values into parameters that can be used during object resolution.

Namespace:  Autofac.Configuration.Core
Assembly:  Autofac.Configuration (in Autofac.Configuration.dll) Version: 6.0.0+ec1c6438ceb3f3338c7364e35e7303f014e3fc39
public static IEnumerable<Parameter> GetProperties(
	this IConfiguration configuration,
	string key


Type: IConfiguration
The IConfiguration element that contains the component with defined properties.
Type: SystemString
The String key indicating the sub-element with the propeties. Usually this is properties.

Return Value

Type: IEnumerableParameter
An IEnumerableT of Parameter values that can be used during object resolution.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IConfiguration. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also