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
- PathGradientBrush.cs
- shaperfactoryquerycacheentry.cs
- HttpCapabilitiesBase.cs
- SmiEventSink_DeferedProcessing.cs
- XmlWriterSettings.cs
- BypassElement.cs
- ClientSettings.cs
- BoundsDrawingContextWalker.cs
- DocumentXmlWriter.cs
- AssemblyAssociatedContentFileAttribute.cs
- EntityUtil.cs
- TrackingProfile.cs
- QuadraticBezierSegment.cs
- DateTimeOffset.cs
- ProgressBarRenderer.cs
- EmptyEnumerable.cs
- MULTI_QI.cs
- CipherData.cs
- ApplicationHost.cs
- NewItemsContextMenuStrip.cs
- MetadataException.cs
- LinqDataSourceContextEventArgs.cs
- TypeLoadException.cs
- SvcMapFileSerializer.cs
- DataSourceSelectArguments.cs
- StringDictionaryEditor.cs
- TextEffect.cs
- URLIdentityPermission.cs
- SoapExtensionTypeElement.cs
- AsmxEndpointPickerExtension.cs
- DrawingContext.cs
- TextComposition.cs
- ListViewAutomationPeer.cs
- ClaimTypeRequirement.cs
- BooleanAnimationBase.cs
- ProvidersHelper.cs
- ManagementObjectSearcher.cs
- WriteTimeStream.cs
- PtsHost.cs
- DbProviderFactoriesConfigurationHandler.cs
- CompiledQueryCacheKey.cs
- ProcessHostFactoryHelper.cs
- SystemInformation.cs
- DispatcherOperation.cs
- ToggleButtonAutomationPeer.cs
- ProcessStartInfo.cs
- GradientStopCollection.cs
- TerminatorSinks.cs
- GridEntry.cs
- TransformerConfigurationWizardBase.cs
- EntityContainer.cs
- panel.cs
- LayoutExceptionEventArgs.cs
- TempEnvironment.cs
- MenuItemBinding.cs
- AppDomainAttributes.cs
- ReflectionTypeLoadException.cs
- CorrelationTokenInvalidatedHandler.cs
- CurrentChangingEventManager.cs
- PreparingEnlistment.cs
- DeclarativeConditionsCollection.cs
- CfgParser.cs
- Geometry.cs
- InitializeCorrelation.cs
- HtmlWindowCollection.cs
- CompleteWizardStep.cs
- FtpCachePolicyElement.cs
- PreApplicationStartMethodAttribute.cs
- CustomCredentialPolicy.cs
- PropertyGrid.cs
- CodeLabeledStatement.cs
- DefaultAsyncDataDispatcher.cs
- WindowsTokenRoleProvider.cs
- SamlAttributeStatement.cs
- HttpDictionary.cs
- DataControlLinkButton.cs
- SelectingProviderEventArgs.cs
- LoginDesigner.cs
- DBSqlParserTable.cs
- AudioBase.cs
- CodeAttributeDeclaration.cs
- DiscoveryRequestHandler.cs
- RegisteredHiddenField.cs
- DbConnectionPoolOptions.cs
- CreateSequence.cs
- TableLayoutStyleCollection.cs
- Point3DCollectionConverter.cs
- ServiceOperationViewControl.cs
- FixUp.cs
- MediaTimeline.cs
- DbParameterCollection.cs
- SmiXetterAccessMap.cs
- SyndicationSerializer.cs
- ISAPIApplicationHost.cs
- UnknownBitmapDecoder.cs
- SqlNotificationEventArgs.cs
- SafeProcessHandle.cs
- RunClient.cs
- TrackingMemoryStreamFactory.cs
- SqlPersistenceWorkflowInstanceDescription.cs