次の方法で共有


DependencyContext.Merge(DependencyContext) Method

Definition

Merges the current dependency context with the specifed one.

public:
 Microsoft::Extensions::DependencyModel::DependencyContext ^ Merge(Microsoft::Extensions::DependencyModel::DependencyContext ^ other);
public Microsoft.Extensions.DependencyModel.DependencyContext Merge (Microsoft.Extensions.DependencyModel.DependencyContext other);
member this.Merge : Microsoft.Extensions.DependencyModel.DependencyContext -> Microsoft.Extensions.DependencyModel.DependencyContext
Public Function Merge (other As DependencyContext) As DependencyContext

Parameters

other
DependencyContext

The dependency context to merge.

Returns

The dependency context that results from merging dependencies of the current context with the specified one.

Applies to