Click or drag to resize

RegistrationDataCopyFrom Method

Copies the contents of another RegistrationData object into this one.

Namespace:  Autofac.Builder
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public void CopyFrom(
	RegistrationData that,
	bool includeDefaultService
)

Parameters

that
Type: Autofac.BuilderRegistrationData
The data to copy.
includeDefaultService
Type: SystemBoolean
When true, the default service will be changed to that of the other.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if that is .
See Also