Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartVerbsEventArgs.cs / 1 / WebPartVerbsEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls.WebParts {
using System;
using System.Security.Permissions;
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
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;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls.WebParts {
using System;
using System.Security.Permissions;
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
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;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProgressBarHighlightConverter.cs
- MenuItemBinding.cs
- BindingsCollection.cs
- MissingFieldException.cs
- TextElementCollection.cs
- XmlQueryRuntime.cs
- DnsCache.cs
- JsonReader.cs
- ColorComboBox.cs
- Point3DCollectionConverter.cs
- GroupLabel.cs
- XPathDocumentNavigator.cs
- ScalarConstant.cs
- ConfigUtil.cs
- ProxyWebPart.cs
- TemplateBamlRecordReader.cs
- XmlSchemaComplexType.cs
- Latin1Encoding.cs
- Shape.cs
- Pkcs7Recipient.cs
- SafeMarshalContext.cs
- TextTreeRootTextBlock.cs
- WindowAutomationPeer.cs
- RotateTransform3D.cs
- RtfToken.cs
- MoveSizeWinEventHandler.cs
- AssemblyResolver.cs
- DataGridPagerStyle.cs
- RetrieveVirtualItemEventArgs.cs
- RuntimeDelegateArgument.cs
- DrawingAttributeSerializer.cs
- Column.cs
- ListBoxDesigner.cs
- Rectangle.cs
- updatecommandorderer.cs
- TimeSpanConverter.cs
- HitTestWithGeometryDrawingContextWalker.cs
- EventProxy.cs
- SqlNotificationEventArgs.cs
- OpenFileDialog.cs
- GetPageNumberCompletedEventArgs.cs
- DbConnectionPoolGroup.cs
- X509SecurityToken.cs
- CodeEventReferenceExpression.cs
- StringAnimationBase.cs
- EdmValidator.cs
- WebEventTraceProvider.cs
- RtfNavigator.cs
- EventPropertyMap.cs
- DBCSCodePageEncoding.cs
- CodeMemberProperty.cs
- WebPartActionVerb.cs
- Switch.cs
- FactoryId.cs
- WebPartMenuStyle.cs
- PasswordBoxAutomationPeer.cs
- LinqDataSourceDisposeEventArgs.cs
- ObjectContextServiceProvider.cs
- CellTreeNode.cs
- Evaluator.cs
- X509CertificateCollection.cs
- DataRowChangeEvent.cs
- DocumentGridContextMenu.cs
- CodeGeneratorOptions.cs
- XmlNamespaceMappingCollection.cs
- recordstate.cs
- CompoundFileStreamReference.cs
- WithStatement.cs
- ScriptingWebServicesSectionGroup.cs
- XmlUTF8TextReader.cs
- QilNode.cs
- BitmapEffectDrawingContextState.cs
- ElementHostAutomationPeer.cs
- MDIClient.cs
- TypeInformation.cs
- SystemIcmpV4Statistics.cs
- SinglePageViewer.cs
- NodeCounter.cs
- SecondaryIndexList.cs
- TextFormatterHost.cs
- IsolationInterop.cs
- WebSysDisplayNameAttribute.cs
- DbParameterCollection.cs
- BitmapPalette.cs
- XmlSchemaSequence.cs
- ExtentKey.cs
- ContractUtils.cs
- SmiEventSink_Default.cs
- XslNumber.cs
- ApplyImportsAction.cs
- ApplicationFileParser.cs
- MatrixKeyFrameCollection.cs
- MessageSecurityException.cs
- PageRequestManager.cs
- FileLogRecordHeader.cs
- PipeStream.cs
- LineProperties.cs
- CheckBoxFlatAdapter.cs
- WindowsEditBox.cs
- TypeRestriction.cs