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
- FixedHighlight.cs
- Math.cs
- DependencyPropertyConverter.cs
- StylusPlugInCollection.cs
- ExpressionConverter.cs
- CustomAttributeBuilder.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- invalidudtexception.cs
- TypeListConverter.cs
- MetricEntry.cs
- CroppedBitmap.cs
- SchemaElement.cs
- TypedElement.cs
- BamlBinaryReader.cs
- Base64Decoder.cs
- SoapFault.cs
- TagMapCollection.cs
- _LazyAsyncResult.cs
- TextEditorCopyPaste.cs
- OutputCacheSettings.cs
- ProtocolState.cs
- IsolatedStoragePermission.cs
- ConfigPathUtility.cs
- TypeUtil.cs
- Pen.cs
- WebConvert.cs
- QueryCoreOp.cs
- SecureEnvironment.cs
- DBProviderConfigurationHandler.cs
- BitmapCodecInfo.cs
- MessageQueueEnumerator.cs
- AppDomainProtocolHandler.cs
- MatrixTransform3D.cs
- ModelItemDictionary.cs
- FlowchartSizeFeature.cs
- RegexWriter.cs
- WorkflowMarkupElementEventArgs.cs
- TcpChannelHelper.cs
- CounterCreationData.cs
- MergablePropertyAttribute.cs
- DataKeyArray.cs
- XmlSchemaParticle.cs
- EdmProviderManifest.cs
- DocumentViewer.cs
- OrderedDictionary.cs
- HitTestWithPointDrawingContextWalker.cs
- Resources.Designer.cs
- DataServiceSaveChangesEventArgs.cs
- DataObjectFieldAttribute.cs
- DataContractFormatAttribute.cs
- ByteAnimationUsingKeyFrames.cs
- CodeNamespaceCollection.cs
- FamilyCollection.cs
- ObjectQuery_EntitySqlExtensions.cs
- SerialReceived.cs
- WindowAutomationPeer.cs
- SimpleBitVector32.cs
- Lease.cs
- SqlDataSourceCache.cs
- ObjectDataSourceEventArgs.cs
- QueryStringParameter.cs
- PageWrapper.cs
- CachedPathData.cs
- DataContractJsonSerializer.cs
- SqlInfoMessageEvent.cs
- XmlSchemaGroup.cs
- ConfigXmlWhitespace.cs
- TableParaClient.cs
- User.cs
- DecimalConstantAttribute.cs
- ValidationResult.cs
- NullableFloatMinMaxAggregationOperator.cs
- DataControlCommands.cs
- RadioButtonRenderer.cs
- RowToParametersTransformer.cs
- ButtonFlatAdapter.cs
- RequestBringIntoViewEventArgs.cs
- WindowsSpinner.cs
- FrameworkElement.cs
- NullNotAllowedCollection.cs
- TiffBitmapEncoder.cs
- FormsAuthentication.cs
- Context.cs
- EvidenceBase.cs
- CreateCardRequest.cs
- FontResourceCache.cs
- EnumerableRowCollectionExtensions.cs
- SecurityTokenInclusionMode.cs
- FrameworkObject.cs
- ByteStack.cs
- MenuEventArgs.cs
- AspNetCacheProfileAttribute.cs
- MarshalByValueComponent.cs
- BulletChrome.cs
- ArgumentOutOfRangeException.cs
- ProfileModule.cs
- OracleCommandSet.cs
- FontCacheLogic.cs
- SubstitutionList.cs
- DateTimePicker.cs