Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartUserCapability.cs / 1305376 / WebPartUserCapability.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.Web.Util; ////// 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Point3DAnimationBase.cs
- DeferredSelectedIndexReference.cs
- SqlTypesSchemaImporter.cs
- MeshGeometry3D.cs
- securestring.cs
- WebControlToolBoxItem.cs
- PageEventArgs.cs
- MetaType.cs
- FontFaceLayoutInfo.cs
- AssociationSetMetadata.cs
- RenderingEventArgs.cs
- ProcessThreadCollection.cs
- VBCodeProvider.cs
- SortedDictionary.cs
- SqlDataSourceSelectingEventArgs.cs
- CodeTypeDeclaration.cs
- BaseValidator.cs
- FrameworkContentElement.cs
- CodeGenHelper.cs
- _ConnectionGroup.cs
- PopupEventArgs.cs
- SrgsSemanticInterpretationTag.cs
- ZipIOLocalFileBlock.cs
- ConfigurationValue.cs
- UrlPropertyAttribute.cs
- DataGridViewRowHeaderCell.cs
- COM2ColorConverter.cs
- PeerNameRecordCollection.cs
- WindowPattern.cs
- cookieexception.cs
- Int32RectConverter.cs
- XmlSubtreeReader.cs
- ClosableStream.cs
- DesignerTransaction.cs
- StylusCaptureWithinProperty.cs
- CultureMapper.cs
- ACE.cs
- TiffBitmapEncoder.cs
- PolicyException.cs
- AutoGeneratedField.cs
- SafeNativeMethods.cs
- FontSizeConverter.cs
- SortDescriptionCollection.cs
- QualifierSet.cs
- _ScatterGatherBuffers.cs
- DataColumn.cs
- IHttpResponseInternal.cs
- Validator.cs
- ErrorInfoXmlDocument.cs
- SHA1CryptoServiceProvider.cs
- HttpRuntimeSection.cs
- AxisAngleRotation3D.cs
- SecurityElement.cs
- SerializationObjectManager.cs
- transactioncontext.cs
- JapaneseLunisolarCalendar.cs
- WebPartManagerInternals.cs
- WindowInteractionStateTracker.cs
- __Error.cs
- EnvelopedPkcs7.cs
- SBCSCodePageEncoding.cs
- TextTreeExtractElementUndoUnit.cs
- CharAnimationUsingKeyFrames.cs
- MD5CryptoServiceProvider.cs
- CompilerScopeManager.cs
- RectAnimationClockResource.cs
- GridProviderWrapper.cs
- WizardStepBase.cs
- SortableBindingList.cs
- GridViewCancelEditEventArgs.cs
- PropertyPath.cs
- DecoderFallbackWithFailureFlag.cs
- DescendantOverDescendantQuery.cs
- SetIndexBinder.cs
- ObjectPropertyMapping.cs
- Assert.cs
- ToggleProviderWrapper.cs
- PeerApplicationLaunchInfo.cs
- SessionStateSection.cs
- Journal.cs
- Function.cs
- TraceContextEventArgs.cs
- MasterPageCodeDomTreeGenerator.cs
- dataobject.cs
- BufferAllocator.cs
- NativeRightsManagementAPIsStructures.cs
- SessionEndingCancelEventArgs.cs
- AutomationElementCollection.cs
- BufferModesCollection.cs
- ListItemCollection.cs
- grammarelement.cs
- FileNotFoundException.cs
- StaticFileHandler.cs
- WebPartEditorApplyVerb.cs
- DbExpressionVisitor_TResultType.cs
- DataSysAttribute.cs
- WhitespaceSignificantCollectionAttribute.cs
- QueryResponse.cs
- SqlCacheDependencyDatabaseCollection.cs
- WinEventHandler.cs