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
- WebResourceAttribute.cs
- CodeTypeDelegate.cs
- TreeIterators.cs
- CriticalFileToken.cs
- UnhandledExceptionEventArgs.cs
- TextEndOfParagraph.cs
- ExtenderProvidedPropertyAttribute.cs
- AbstractSvcMapFileLoader.cs
- ExecutionContext.cs
- ValueSerializerAttribute.cs
- InvokeMethod.cs
- TextRange.cs
- ListControlConvertEventArgs.cs
- TextContainerHelper.cs
- WebPartCloseVerb.cs
- PersistenceTypeAttribute.cs
- WCFServiceClientProxyGenerator.cs
- UiaCoreApi.cs
- StyleSelector.cs
- ExtenderControl.cs
- storepermission.cs
- TextDecorationCollectionConverter.cs
- Profiler.cs
- Repeater.cs
- ScrollBar.cs
- TagPrefixAttribute.cs
- UriWriter.cs
- PassportAuthenticationEventArgs.cs
- DirtyTextRange.cs
- MonthChangedEventArgs.cs
- X509Extension.cs
- infer.cs
- ApplicationId.cs
- DecimalAnimationBase.cs
- COM2IDispatchConverter.cs
- OrderedDictionary.cs
- Int32Collection.cs
- PointLight.cs
- PointAnimationUsingPath.cs
- TextRangeAdaptor.cs
- UIElementHelper.cs
- HybridWebProxyFinder.cs
- MediaScriptCommandRoutedEventArgs.cs
- DependencyObject.cs
- SerialPinChanges.cs
- BoundPropertyEntry.cs
- NetTcpSecurity.cs
- GroupBoxAutomationPeer.cs
- EntitySqlQueryState.cs
- CompilationRelaxations.cs
- AsyncDataRequest.cs
- _DisconnectOverlappedAsyncResult.cs
- ServiceInfoCollection.cs
- ConstraintConverter.cs
- arc.cs
- OdbcParameter.cs
- StringDictionaryEditor.cs
- ConvertersCollection.cs
- ReadContentAsBinaryHelper.cs
- SoapReflectionImporter.cs
- FontResourceCache.cs
- EventToken.cs
- DbConnectionOptions.cs
- Image.cs
- AutoGeneratedFieldProperties.cs
- XmlNodeList.cs
- SqlBinder.cs
- KeyEventArgs.cs
- ObjectDataSourceFilteringEventArgs.cs
- ParameterCollection.cs
- WebUtil.cs
- SQLByte.cs
- ComplexPropertyEntry.cs
- SymmetricAlgorithm.cs
- DocumentPageViewAutomationPeer.cs
- XmlSerializationGeneratedCode.cs
- UnsafeNativeMethods.cs
- CacheChildrenQuery.cs
- WrappedKeySecurityToken.cs
- CSharpCodeProvider.cs
- QueryContinueDragEvent.cs
- SqlCacheDependency.cs
- Brush.cs
- StylusTouchDevice.cs
- QueryTaskGroupState.cs
- SynthesizerStateChangedEventArgs.cs
- ErrorEventArgs.cs
- WindowsPrincipal.cs
- Int64AnimationBase.cs
- SqlFileStream.cs
- _NativeSSPI.cs
- XmlByteStreamWriter.cs
- UIElement3D.cs
- GridItemCollection.cs
- ContourSegment.cs
- MetadataArtifactLoaderCompositeResource.cs
- FileUtil.cs
- FileSystemEventArgs.cs
- XmlLanguage.cs
- XmlDataCollection.cs