Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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(); } } } // 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
- HTTPNotFoundHandler.cs
- WebPartConnection.cs
- DesignerWebPartChrome.cs
- FolderLevelBuildProviderCollection.cs
- BitmapImage.cs
- StrongName.cs
- CharKeyFrameCollection.cs
- ValuePatternIdentifiers.cs
- MetadataItem_Static.cs
- NewItemsContextMenuStrip.cs
- ZeroOpNode.cs
- DbDataAdapter.cs
- HttpApplicationFactory.cs
- PointValueSerializer.cs
- IResourceProvider.cs
- DispatcherHookEventArgs.cs
- Misc.cs
- EpmContentSerializer.cs
- _CommandStream.cs
- ReadWriteSpinLock.cs
- ContractSearchPattern.cs
- DefaultHttpHandler.cs
- OdbcCommandBuilder.cs
- PlanCompiler.cs
- StringDictionary.cs
- BamlMapTable.cs
- MessageDescription.cs
- TransportOutputChannel.cs
- DataViewSettingCollection.cs
- ElementAtQueryOperator.cs
- CodeValidator.cs
- XmlSerializerVersionAttribute.cs
- NavigationCommands.cs
- WebPartConnectionsCancelEventArgs.cs
- SqlDependencyListener.cs
- KeyValueConfigurationElement.cs
- TextEditorTyping.cs
- ProcessManager.cs
- CapabilitiesSection.cs
- contentDescriptor.cs
- ResetableIterator.cs
- AppendHelper.cs
- COM2ColorConverter.cs
- MatchAttribute.cs
- DataGridViewCell.cs
- UriScheme.cs
- MethodImplAttribute.cs
- ServicesSection.cs
- OracleCommand.cs
- DesignerWebPartChrome.cs
- UseLicense.cs
- StreamInfo.cs
- ControlCollection.cs
- ActivityDesigner.cs
- MimeTypeMapper.cs
- StringAttributeCollection.cs
- _AutoWebProxyScriptWrapper.cs
- LeafCellTreeNode.cs
- LookupBindingPropertiesAttribute.cs
- StringResourceManager.cs
- ClientScriptManager.cs
- HyperLinkField.cs
- Vector3DConverter.cs
- OutOfProcStateClientManager.cs
- _emptywebproxy.cs
- XmlWhitespace.cs
- PingOptions.cs
- AnimationStorage.cs
- SystemResourceKey.cs
- XmlSchemaAttributeGroup.cs
- FixedBufferAttribute.cs
- ServiceOperationDetailViewControl.cs
- DocumentReference.cs
- PointConverter.cs
- CellCreator.cs
- SessionViewState.cs
- HtmlTernaryTree.cs
- ListGeneralPage.cs
- ObjectDataSource.cs
- DynamicFilterExpression.cs
- Stack.cs
- ServiceDocument.cs
- CheckBox.cs
- MouseCaptureWithinProperty.cs
- TraceHandlerErrorFormatter.cs
- RtfToXamlLexer.cs
- PackagePart.cs
- NameValueCollection.cs
- XmlLinkedNode.cs
- UnmanagedMemoryStream.cs
- AsnEncodedData.cs
- StylusDownEventArgs.cs
- SerializationSectionGroup.cs
- EmbeddedMailObjectsCollection.cs
- EventsTab.cs
- BaseCodePageEncoding.cs
- InternalSafeNativeMethods.cs
- ColorAnimation.cs
- ConstraintCollection.cs
- PropertyChangeTracker.cs