Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartUserCapability.cs / 1 / WebPartUserCapability.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.Security.Permissions; using System.Web.Util; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectViewListener.cs
- ToolStrip.cs
- WebServiceReceiveDesigner.cs
- SmtpMail.cs
- StateItem.cs
- ObjectDataSourceFilteringEventArgs.cs
- GraphicsContext.cs
- ColorContext.cs
- XPathMultyIterator.cs
- FillBehavior.cs
- Mutex.cs
- CompositeCollectionView.cs
- ListBindingHelper.cs
- SimpleBitVector32.cs
- MemberAccessException.cs
- MetadataExchangeClient.cs
- Decimal.cs
- SystemResourceKey.cs
- DecimalConstantAttribute.cs
- PrintDialog.cs
- Highlights.cs
- DocumentReferenceCollection.cs
- entitydatasourceentitysetnameconverter.cs
- RootNamespaceAttribute.cs
- WebPartDescription.cs
- EntryPointNotFoundException.cs
- SoapAttributeAttribute.cs
- streamingZipPartStream.cs
- SplineKeyFrames.cs
- WebResourceAttribute.cs
- SafeFileMappingHandle.cs
- EntitySqlQueryCacheEntry.cs
- FilterElement.cs
- Underline.cs
- ToolStripItemRenderEventArgs.cs
- NavigationHelper.cs
- ConnectionStringsExpressionEditor.cs
- activationcontext.cs
- UrlPropertyAttribute.cs
- StandardToolWindows.cs
- BindingCollection.cs
- UITypeEditor.cs
- OracleCommand.cs
- DesignerDataColumn.cs
- DateTimeStorage.cs
- MetadataArtifactLoaderFile.cs
- LayoutEngine.cs
- WindowsGraphicsCacheManager.cs
- BitmapCodecInfoInternal.cs
- XmlSchemaSimpleContentRestriction.cs
- SqlInfoMessageEvent.cs
- UntypedNullExpression.cs
- KnownBoxes.cs
- RootCodeDomSerializer.cs
- DebugView.cs
- ImageSource.cs
- XmlTypeMapping.cs
- ColorMap.cs
- SqlBulkCopyColumnMapping.cs
- TagMapCollection.cs
- wgx_commands.cs
- FixedBufferAttribute.cs
- CallbackException.cs
- Converter.cs
- AxHostDesigner.cs
- Soap12ProtocolReflector.cs
- GlyphRunDrawing.cs
- MeasureData.cs
- DataServiceProviderWrapper.cs
- ExpiredSecurityTokenException.cs
- SymbolType.cs
- CodeConditionStatement.cs
- SharedUtils.cs
- DetailsViewUpdatedEventArgs.cs
- IEnumerable.cs
- WindowsPrincipal.cs
- DNS.cs
- ProviderUtil.cs
- CodeGroup.cs
- ObjectManager.cs
- LoginAutoFormat.cs
- VectorAnimation.cs
- ThemeDirectoryCompiler.cs
- JavaScriptObjectDeserializer.cs
- CmsInterop.cs
- smtppermission.cs
- XmlChildNodes.cs
- IPEndPoint.cs
- ExtensionFile.cs
- DataGridViewSelectedCellCollection.cs
- ConditionBrowserDialog.cs
- WsdlInspector.cs
- ClrProviderManifest.cs
- SizeAnimationClockResource.cs
- QueryCacheKey.cs
- RegexInterpreter.cs
- VideoDrawing.cs
- CultureInfoConverter.cs
- Triplet.cs
- XmlLanguage.cs