e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
40 lines
1.0 KiB
C#
40 lines
1.0 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="IHttpModule.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
/*
|
|
* IHttpModule interface
|
|
*
|
|
* Copyright (c) 2000 Microsoft Corporation
|
|
*/
|
|
|
|
namespace System.Web
|
|
{
|
|
using System;
|
|
using System.Security.Permissions;
|
|
|
|
|
|
/// <devdoc>
|
|
/// <para>Provides module initialization and tear-down events to the inheriting class.</para>
|
|
/// </devdoc>
|
|
public interface IHttpModule
|
|
{
|
|
|
|
/// <devdoc>
|
|
/// <para>Invoked by ASP.NET to enable a module to set itself up to handle
|
|
/// requests.</para>
|
|
/// </devdoc>
|
|
void Init(HttpApplication context);
|
|
|
|
|
|
/// <devdoc>
|
|
/// <para>Invoked by ASP.NET to enable a module to perform any final cleanup work prior to tear-down.</para>
|
|
/// </devdoc>
|
|
void Dispose();
|
|
|
|
}
|
|
|
|
}
|