1 interface inheriting from IWebObjectFactory
System.Web (1)
Util\IObjectFactory.cs (1)
15
internal interface ITypedWebObjectFactory :
IWebObjectFactory
{
4 implementations of IWebObjectFactory
System.Web (4)
UI\ControlBuilder.cs (2)
3148
private class DefaultControlBuilderFactory :
IWebObjectFactory
{
3156
private class ReflectionBasedControlBuilderFactory :
IWebObjectFactory
{
UI\WebControls\Content.cs (1)
128
internal class ContentBuilderInternalFactory:
IWebObjectFactory
{
UI\WebControls\ContentPlaceHolder.cs (1)
94
internal class ContentPlaceHolderBuilderFactory:
IWebObjectFactory
{
35 references to IWebObjectFactory
System.Web (23)
Compilation\BuildManager.cs (1)
3160
public static
IWebObjectFactory
GetObjectFactory(string virtualPath, bool throwIfNotFound) {
Configuration\HttpCapabilitiesBase.cs (5)
285
IWebObjectFactory
factory = GetAdapterFactory(adapterType);
294
private
IWebObjectFactory
GetAdapterFactory(Type adapterType) {
304
IWebObjectFactory
factory = (
IWebObjectFactory
)_controlAdapterFactoryTable[adapterType];
308
factory = (
IWebObjectFactory
)_controlAdapterFactoryTable[adapterType];
HttpRuntime.cs (2)
3472
IWebObjectFactory
factory = (
IWebObjectFactory
)s_factoryCache[type];
UI\ControlBuilder.cs (5)
1676
IWebObjectFactory
factory = (
IWebObjectFactory
)s_controlBuilderFactoryCache[type];
3146
private static
IWebObjectFactory
s_defaultControlBuilderFactory = new DefaultControlBuilderFactory();
3149
object
IWebObjectFactory
.CreateInstance() {
3163
object
IWebObjectFactory
.CreateInstance() {
UI\PartialCachingControl.cs (2)
760
private
IWebObjectFactory
_objectFactory;
767
internal PartialCachingControl(
IWebObjectFactory
objectFactory, Type createCachedControlType,
UI\TemplateControl.cs (3)
607
return LoadControl((
IWebObjectFactory
)result, virtualPath, null /*Type*/, null /*parameters*/);
646
private Control LoadControl(
IWebObjectFactory
objectFactory, VirtualPath virtualPath, Type t, object[] parameters) {
732
private
IWebObjectFactory
_objectFactory;
UI\WebControls\Content.cs (1)
129
object
IWebObjectFactory
.CreateInstance() {
UI\WebControls\ContentPlaceHolder.cs (1)
95
object
IWebObjectFactory
.CreateInstance() {
Util\FactoryGenerator.cs (3)
71
internal FactoryGenerator() : this(typeof(object), typeof(
IWebObjectFactory
)) {}
176
internal
IWebObjectFactory
CreateFactory(Type type) {
183
return (
IWebObjectFactory
) Activator.CreateInstance(factoryType);
System.Web.Mobile (12)
UI\MobileControls\DesignerDeviceConfig.cs (1)
28
IWebObjectFactory
adapterFactory = LookupControl(originalControlType);
UI\MobileControls\FactoryGenerator.cs (1)
82
private FactoryGenerator() : this(typeof(object), typeof(
IWebObjectFactory
)) { }
UI\MobileControls\IndividualDeviceConfig.cs (10)
40
private
IWebObjectFactory
_pageAdapterFactory;
118
(
IWebObjectFactory
)FactoryGenerator.StaticFactoryGenerator.GetFactory(_pageAdapterType);
135
protected
IWebObjectFactory
LookupControl(Type controlType)
140
private
IWebObjectFactory
LookupControl(Type controlType, bool lookInTypeCache)
142
IWebObjectFactory
factory;
144
factory = (
IWebObjectFactory
)_controlAdapterTypes[controlType];
151
factory = (
IWebObjectFactory
)_controlAdapterLookupCache[controlType];
177
IWebObjectFactory
factory = GetAdapterFactory(originalControlType);
205
protected
IWebObjectFactory
GetAdapterFactory(Type originalControlType)
210
IWebObjectFactory
factory = LookupControl(controlType, true); // Look in type cache