Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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(); } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExpressionBinding.cs
- XmlAttributeOverrides.cs
- Command.cs
- BaseConfigurationRecord.cs
- InternalConfigRoot.cs
- FigureParagraph.cs
- TraceSection.cs
- UidManager.cs
- TextEditorParagraphs.cs
- DataGridViewTextBoxEditingControl.cs
- PenCursorManager.cs
- EventDescriptor.cs
- IPPacketInformation.cs
- CodeDomExtensionMethods.cs
- DataObjectAttribute.cs
- ControlEvent.cs
- safemediahandle.cs
- TcpClientChannel.cs
- UmAlQuraCalendar.cs
- PropertyMapper.cs
- SerTrace.cs
- DataServiceQueryContinuation.cs
- ClientCredentialsElement.cs
- WebConfigurationFileMap.cs
- XmlSchemaSimpleTypeList.cs
- SqlExpressionNullability.cs
- dataobject.cs
- NonBatchDirectoryCompiler.cs
- PostBackOptions.cs
- SizeChangedEventArgs.cs
- ImportCatalogPart.cs
- ProfileSection.cs
- WindowsFormsSectionHandler.cs
- UpdateCompiler.cs
- ClientRolePrincipal.cs
- HTTPNotFoundHandler.cs
- GridViewSelectEventArgs.cs
- TraceUtility.cs
- SoundPlayer.cs
- XmlSchemaNotation.cs
- XmlUnspecifiedAttribute.cs
- ToolStripItemClickedEventArgs.cs
- SpnEndpointIdentity.cs
- EntityReference.cs
- AddInAttribute.cs
- FormViewPageEventArgs.cs
- ComplexBindingPropertiesAttribute.cs
- WorkflowMarkupElementEventArgs.cs
- Encoder.cs
- odbcmetadatacollectionnames.cs
- ValueTypeFieldReference.cs
- RotateTransform.cs
- XpsPartBase.cs
- RegexStringValidator.cs
- FixedSOMTableCell.cs
- PropertySegmentSerializer.cs
- IdnElement.cs
- SizeValueSerializer.cs
- SoapFormatter.cs
- ADMembershipProvider.cs
- TargetConverter.cs
- SchemaAttDef.cs
- UnaryOperationBinder.cs
- ContentTextAutomationPeer.cs
- CategoryGridEntry.cs
- GradientSpreadMethodValidation.cs
- StrokeSerializer.cs
- AppearanceEditorPart.cs
- DocumentCollection.cs
- XmlNamespaceDeclarationsAttribute.cs
- RuntimeConfigLKG.cs
- OperatingSystem.cs
- BaseValidator.cs
- HtmlInputImage.cs
- SourceLineInfo.cs
- SystemMulticastIPAddressInformation.cs
- CodeDelegateCreateExpression.cs
- MemberCollection.cs
- CategoryValueConverter.cs
- SHA256Cng.cs
- AsymmetricAlgorithm.cs
- _Connection.cs
- NumberSubstitution.cs
- LiteralTextParser.cs
- Int32KeyFrameCollection.cs
- ImageListUtils.cs
- FixedSOMTextRun.cs
- WebBrowser.cs
- ElementAtQueryOperator.cs
- _SafeNetHandles.cs
- MembershipPasswordException.cs
- FunctionImportMapping.cs
- Rect.cs
- Hashtable.cs
- RouteParametersHelper.cs
- HttpStaticObjectsCollectionBase.cs
- DependsOnAttribute.cs
- DynamicPropertyReader.cs
- LineSegment.cs
- DynamicField.cs