LocatorNameTypeFactoryBase<T>.CreateDefault Method
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. |
Returns an instance of T based on the default instance configuration.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder
Assembly: Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)
Syntax
'Declaration
PublicFunctionCreateDefaultAs T
public T CreateDefault()
public:
T CreateDefault()
publicfunctionCreateDefault() : T
Return Value
A new instance of T, or the singleton instance if T allows singletons.
See Also
LocatorNameTypeFactoryBase<T> Class
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder Namespace
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. |