Castle.MicroKernel.Registration.FromAssemblyDescriptor.IncludeNonPublicTypes C# (CSharp) Method

IncludeNonPublicTypes() public method

When called also non-public types will be scanned.
Usually it is not recommended to register non-public types in the container so think twice before using this option.
public IncludeNonPublicTypes ( ) : FromAssemblyDescriptor
return FromAssemblyDescriptor
		public FromAssemblyDescriptor IncludeNonPublicTypes()
		{
			nonPublicTypes = true;
			return this;
		}