File: UI\WebParts\WebPartVerbsEventArgs.cs
Project: ndp\fx\src\xsp\system\Web\System.Web.csproj (System.Web)
//------------------------------------------------------------------------------
// <copyright file="WebPartVerbsEventArgs.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
 
namespace System.Web.UI.WebControls.WebParts {
 
    using System;
 
    public class WebPartVerbsEventArgs : EventArgs {
        private WebPartVerbCollection _verbs;
 
        public WebPartVerbsEventArgs() : this(null) {
        }
 
        public WebPartVerbsEventArgs(WebPartVerbCollection verbs) {
            _verbs = verbs;
        }
 
        public WebPartVerbCollection Verbs {
            get {
                return (_verbs != null) ? _verbs : WebPartVerbCollection.Empty;
            }
            set {
                _verbs = value;
            }
        }
    }
}