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;
        }