Click or drag to resize

MetadataConfigurationTMetadataForTProperty Method

Set one of the property values.

Namespace:  Autofac.Builder
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public MetadataConfiguration<TMetadata> For<TProperty>(
	Expression<Func<TMetadata, TProperty>> propertyAccessor,
	TProperty value
)

Parameters

propertyAccessor
Type: System.Linq.ExpressionsExpressionFuncTMetadata, TProperty
An expression that accesses the property to set.
value
Type: TProperty
The property value to set.

Type Parameters

TProperty
The type of the property.

Return Value

Type: MetadataConfigurationTMetadata

[Missing <returns> documentation for "M:Autofac.Builder.MetadataConfiguration`1.For``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},``0)"]

See Also