Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- RuleSettings.cs
- ToolboxItem.cs
- TextRunTypographyProperties.cs
- InvokePattern.cs
- XmlLinkedNode.cs
- GlyphTypeface.cs
- ExtendedPropertyDescriptor.cs
- LostFocusEventManager.cs
- DeclarativeConditionsCollection.cs
- ValidationSummary.cs
- WriteFileContext.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- SocketPermission.cs
- cache.cs
- TransactionFlowBindingElementImporter.cs
- DependencyObjectProvider.cs
- RuntimeCompatibilityAttribute.cs
- ToolTipAutomationPeer.cs
- BitmapEffectInput.cs
- CapabilitiesRule.cs
- ArrayWithOffset.cs
- XmlQueryStaticData.cs
- IPAddressCollection.cs
- SqlCacheDependencyDatabaseCollection.cs
- METAHEADER.cs
- ObjectStateEntry.cs
- DropTarget.cs
- ColorKeyFrameCollection.cs
- EncodingNLS.cs
- SmtpFailedRecipientsException.cs
- GridViewCommandEventArgs.cs
- AsymmetricAlgorithm.cs
- Binding.cs
- SettingsPropertyValueCollection.cs
- AutomationFocusChangedEventArgs.cs
- LineServicesCallbacks.cs
- NetDataContractSerializer.cs
- PartialClassGenerationTaskInternal.cs
- CompositeDataBoundControl.cs
- TagMapCollection.cs
- RenderContext.cs
- HtmlInputImage.cs
- ContentValidator.cs
- ConnectionStringSettingsCollection.cs
- ImmComposition.cs
- ObjectToIdCache.cs
- AutoResetEvent.cs
- SafeNativeMethods.cs
- AppliedDeviceFiltersEditor.cs
- ServiceDebugBehavior.cs
- ProcessInfo.cs
- TemplateControl.cs
- ListViewCommandEventArgs.cs
- SQLInt16.cs
- AudioFormatConverter.cs
- SoapMessage.cs
- MemberProjectionIndex.cs
- dbenumerator.cs
- ReversePositionQuery.cs
- CompilationPass2TaskInternal.cs
- StyleBamlTreeBuilder.cs
- TouchEventArgs.cs
- Wildcard.cs
- InProcStateClientManager.cs
- UIElement.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- SelectionEditor.cs
- Frame.cs
- ContentDesigner.cs
- ResourceAttributes.cs
- ColumnCollection.cs
- AsyncStreamReader.cs
- CopyAction.cs
- CommentEmitter.cs
- LineSegment.cs
- DynamicRouteExpression.cs
- GenericWebPart.cs
- Int16AnimationUsingKeyFrames.cs
- SqlTypesSchemaImporter.cs
- MethodAccessException.cs
- OutOfMemoryException.cs
- X509ChainElement.cs
- IPipelineRuntime.cs
- HttpDebugHandler.cs
- AuthenticationServiceManager.cs
- DataGridViewCellValidatingEventArgs.cs
- ImageIndexConverter.cs
- InputLanguageSource.cs
- CellTreeNodeVisitors.cs
- EdmProviderManifest.cs
- OlePropertyStructs.cs
- NameValueSectionHandler.cs
- invalidudtexception.cs
- Point.cs
- SamlAuthorizationDecisionStatement.cs
- ParagraphVisual.cs
- BufferedReadStream.cs
- XmlILOptimizerVisitor.cs
- AudienceUriMode.cs
- RelationshipConverter.cs