Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartUserCapability.cs / 1 / WebPartUserCapability.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.Security.Permissions; using System.Web.Util; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] public sealed class WebPartUserCapability { private string _name; ////// public WebPartUserCapability(string name) { if (String.IsNullOrEmpty(name)) { throw ExceptionUtil.ParameterNullOrEmpty("name"); } _name = name; } ////// public string Name { get { return _name; } } ////// public override bool Equals(object o) { if (o == this) { return true; } WebPartUserCapability other = o as WebPartUserCapability; return (other != null) && (other.Name == Name); } ////// public override int GetHashCode() { return _name.GetHashCode(); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ScaleTransform3D.cs
- AssociationTypeEmitter.cs
- DummyDataSource.cs
- MenuAdapter.cs
- NonParentingControl.cs
- FormsAuthenticationEventArgs.cs
- Transform3DGroup.cs
- ExpanderAutomationPeer.cs
- CompensationParticipant.cs
- XmlTextReader.cs
- DesignOnlyAttribute.cs
- PrintPreviewDialog.cs
- AtomEntry.cs
- RuleSetDialog.Designer.cs
- DateTimeFormat.cs
- ColumnHeaderCollectionEditor.cs
- SoapBinding.cs
- QuaternionValueSerializer.cs
- FileLogRecordStream.cs
- TextOnlyOutput.cs
- WizardForm.cs
- WindowsFormsSectionHandler.cs
- DoubleLinkList.cs
- WindowInteropHelper.cs
- HttpCookiesSection.cs
- MimeMapping.cs
- WebPartCloseVerb.cs
- UpdatePanelTrigger.cs
- DbConvert.cs
- XmlDataLoader.cs
- CalendarItem.cs
- ExternalDataExchangeService.cs
- Currency.cs
- ModelService.cs
- XmlSchemaObject.cs
- ListSourceHelper.cs
- FontConverter.cs
- HttpResponse.cs
- DecimalConverter.cs
- MatrixTransform3D.cs
- OutputCacheSettings.cs
- AddInPipelineAttributes.cs
- CorrelationManager.cs
- EdmFunction.cs
- VirtualizingPanel.cs
- MissingSatelliteAssemblyException.cs
- FontUnitConverter.cs
- HwndMouseInputProvider.cs
- ApplicationId.cs
- WebColorConverter.cs
- HttpCapabilitiesEvaluator.cs
- XPathAxisIterator.cs
- KeyedQueue.cs
- RefreshEventArgs.cs
- TableCell.cs
- ListViewCancelEventArgs.cs
- ExpressionLexer.cs
- StringExpressionSet.cs
- Math.cs
- ImageKeyConverter.cs
- HtmlInputHidden.cs
- ObjectListDesigner.cs
- ViewRendering.cs
- InternalResources.cs
- XmlSerializerNamespaces.cs
- TextMarkerSource.cs
- SqlDataAdapter.cs
- DecoderBestFitFallback.cs
- TimeStampChecker.cs
- XmlSchemaType.cs
- SemaphoreFullException.cs
- ExpressionPrinter.cs
- TrackingStringDictionary.cs
- XmlFormatReaderGenerator.cs
- SmtpAuthenticationManager.cs
- Image.cs
- ColorPalette.cs
- Brush.cs
- XmlAttributeHolder.cs
- PeerTransportBindingElement.cs
- DataControlImageButton.cs
- HScrollBar.cs
- FormsAuthenticationTicket.cs
- RestHandlerFactory.cs
- CanExecuteRoutedEventArgs.cs
- Evidence.cs
- PageRouteHandler.cs
- ReadContentAsBinaryHelper.cs
- TextProperties.cs
- WorkflowViewService.cs
- XmlUtil.cs
- Debugger.cs
- XmlElementAttribute.cs
- StateDesigner.Helpers.cs
- DataGridBeginningEditEventArgs.cs
- InputProviderSite.cs
- EntityDataSourceContextDisposingEventArgs.cs
- EventListenerClientSide.cs
- StyleSelector.cs
- DelayLoadType.cs