Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / class / referencesource / System.Web / Util / IObjectFactory.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="IObjectFactory.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>                                                                
5 //------------------------------------------------------------------------------
6
7 namespace System.Web.Util {
8
9     using System;
10
11     public interface IWebObjectFactory {
12         object CreateInstance();
13     }
14
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; }
19     }
20 }
21
22