TypeRegistration.IsPublicName Property
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The latest Enterprise Library information can be found at the Enterprise Library site. |
Is this registration for a type that is part of a public API? If true, configurators should not transform the name in any way. If false, this is an internal implementation class that users will not be resolving directly, and as such the name can be manipulated safely without interfering with the public API.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel
Assembly: Microsoft.Practices.EnterpriseLibrary.Common.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Common.Silverlight.dll) Version: 5.0.505.0
Syntax
public bool IsPublicName { get; set; }
'Declaration
Public Property IsPublicName As Boolean
Get
Set
public:
property bool IsPublicName {
bool get ();
void set (bool value);
}
Remarks
Some containers have restrictions on the allowed names (for example, many require names to be globally unique). Some object names need to be left alone (for example, Database or Exception policies) because that is what the user will use to get those objects. Other names (like for instrumentation providers) are internal and can be freely changed by the configurator as needed to fit into the container.
See Also
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel Namespace