1 //------------------------------------------------------------------------------
2 // <copyright file="IObjectFactory.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 //------------------------------------------------------------------------------
7 namespace System.Web.Util {
11 public interface IWebObjectFactory {
12 object CreateInstance();
15 internal interface ITypedWebObjectFactory : IWebObjectFactory {
16 // Type that will be instantiated by CreateInstance. This is to allow the caller
17 // to check base type validity *before* actually creating the instance.
18 Type InstantiatedType { get; }