System.Composition.Convention.ImportConventionBuilder.AllowDefault C# (CSharp) Метод

AllowDefault() публичный Метод

Allow the import to receive the default value for its type if the contract cannot be supplied by another part.
public AllowDefault ( ) : ImportConventionBuilder
Результат ImportConventionBuilder
        public ImportConventionBuilder AllowDefault()
        {
            _allowDefault = true;
            return this;
        }