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
- NavigationPropertyEmitter.cs
- WebConfigurationHostFileChange.cs
- ComponentSerializationService.cs
- SubstitutionResponseElement.cs
- CompositeControl.cs
- AsyncContentLoadedEventArgs.cs
- arclist.cs
- InternalControlCollection.cs
- XmlAttributes.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- ExpressionBuilder.cs
- OutOfProcStateClientManager.cs
- SqlProviderManifest.cs
- PassportIdentity.cs
- ExecutionScope.cs
- SystemSounds.cs
- sqlmetadatafactory.cs
- ThreadStartException.cs
- NameValueSectionHandler.cs
- xamlnodes.cs
- StackSpiller.Generated.cs
- TextFormatterImp.cs
- SafeNativeMethods.cs
- RepeatEnumerable.cs
- SafeRightsManagementSessionHandle.cs
- XPathMultyIterator.cs
- VariableQuery.cs
- Rule.cs
- DataGridPagerStyle.cs
- SolidBrush.cs
- PreservationFileReader.cs
- ZoneLinkButton.cs
- CharStorage.cs
- TreeNodeClickEventArgs.cs
- EventLogInternal.cs
- CreateUserErrorEventArgs.cs
- UnionExpr.cs
- TextElement.cs
- MediaContextNotificationWindow.cs
- WebPartActionVerb.cs
- MILUtilities.cs
- ByteFacetDescriptionElement.cs
- _DigestClient.cs
- BindingEntityInfo.cs
- versioninfo.cs
- Axis.cs
- HyperLinkStyle.cs
- RewritingValidator.cs
- IndexedString.cs
- SqlRowUpdatingEvent.cs
- LinkLabelLinkClickedEvent.cs
- WindowsEditBox.cs
- HtmlTable.cs
- ParameterBuilder.cs
- AgileSafeNativeMemoryHandle.cs
- BaseTemplateCodeDomTreeGenerator.cs
- SafeSecurityHandles.cs
- GridViewDeletedEventArgs.cs
- HelpProvider.cs
- MissingMemberException.cs
- BinaryFormatter.cs
- EmptyStringExpandableObjectConverter.cs
- PersonalizationStateInfo.cs
- TypeContext.cs
- EventsTab.cs
- TokenBasedSet.cs
- FontEmbeddingManager.cs
- PngBitmapDecoder.cs
- ProfileSettings.cs
- CapabilitiesSection.cs
- EdmScalarPropertyAttribute.cs
- CutCopyPasteHelper.cs
- Underline.cs
- mil_commands.cs
- WindowsSpinner.cs
- ConnectivityStatus.cs
- PreviewKeyDownEventArgs.cs
- SizeF.cs
- XamlWrapperReaders.cs
- Parallel.cs
- TileBrush.cs
- ModuleBuilderData.cs
- ListBox.cs
- OrderedDictionaryStateHelper.cs
- XsdBuildProvider.cs
- HandlerFactoryCache.cs
- IdnMapping.cs
- UmAlQuraCalendar.cs
- OracleConnectionStringBuilder.cs
- XmlEntityReference.cs
- FlatButtonAppearance.cs
- HttpProfileGroupBase.cs
- DataGridViewCellConverter.cs
- BindingWorker.cs
- ListBindingHelper.cs
- XmlSchemaAll.cs
- ProjectedSlot.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- contentDescriptor.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs