Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
System
Composition
Convention
ImportConventionBuilder
AllowDefault
System.Composition.Convention.ImportConventionBuilder.AllowDefault C# (CSharp) Method
ImportConventionBuilder Class Documentation
显示文件
Open project: mikedn/runtime
AllowDefault()
public
method
Allow the import to receive the default value for its type if the contract cannot be supplied by another part.
public
AllowDefault
( ) :
ImportConventionBuilder
return
ImportConventionBuilder
public ImportConventionBuilder AllowDefault() { _allowDefault = true; return this; }
ImportConventionBuilder
AddMetadataConstraint
AllowDefault
AsContractName
AsMany
BuildAttributes
ImportConventionBuilder
IsSupportedImportManyType