e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
23 lines
785 B
C#
23 lines
785 B
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="IObjectFactory.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Web.Util {
|
|
|
|
using System;
|
|
|
|
public interface IWebObjectFactory {
|
|
object CreateInstance();
|
|
}
|
|
|
|
internal interface ITypedWebObjectFactory : IWebObjectFactory {
|
|
// Type that will be instantiated by CreateInstance. This is to allow the caller
|
|
// to check base type validity *before* actually creating the instance.
|
|
Type InstantiatedType { get; }
|
|
}
|
|
}
|
|
|
|
|