iiswebsiteeventargs.cs

来自「用ADSI操作IIS文件」· CS 代码 · 共 41 行

CS
41
字号
// IIsAdmin.NET
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
// 
// This softwareis provided "AS IS" with no warranties of any kind.
// The entire risk arising out of the use or performance of the software
// and source code is with you.
//
// THIS NOTICE MAY NOT BE REMOVED FROM THIS FILE.

using System;

namespace IIsAdmin
{
	/// <summary>
	/// Summary description for IIsWebSiteEventArgs.
	/// </summary>
	public class IIsWebSiteEventArgs : EventArgs
	{
        protected IIsWebSite _site;

		public IIsWebSiteEventArgs(IIsWebSite site) : base()
		{
			_site = site;
		}

        public IIsWebSite WebSite
        {
            get
            {
                return _site;
            }
        }
	}

    public delegate void IIsWebSiteEventHandler(object sender, IIsWebSiteEventArgs e);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?