ContainerConfiguration.WithDefaultConventions(AttributedModelProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the default conventions to use for added parts.
public:
System::Composition::Hosting::ContainerConfiguration ^ WithDefaultConventions(System::Composition::Convention::AttributedModelProvider ^ conventions);
public System.Composition.Hosting.ContainerConfiguration WithDefaultConventions (System.Composition.Convention.AttributedModelProvider conventions);
member this.WithDefaultConventions : System.Composition.Convention.AttributedModelProvider -> System.Composition.Hosting.ContainerConfiguration
Public Function WithDefaultConventions (conventions As AttributedModelProvider) As ContainerConfiguration
Parameters
- conventions
- AttributedModelProvider
The conventions to use for part types.
Returns
An object that can be used to further configure the container.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.