Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / EditorBrowsableAttribute.cs / 1305376 / EditorBrowsableAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Delegate | AttributeTargets.Interface)] public sealed class EditorBrowsableAttribute :Attribute { private EditorBrowsableState browsableState; ///[To be supplied.] ////// public EditorBrowsableAttribute (EditorBrowsableState state) { browsableState = state; } ///[To be supplied.] ////// public EditorBrowsableAttribute () :this (EditorBrowsableState.Always) {} ///[To be supplied.] ////// public EditorBrowsableState State { get { return browsableState;} } public override bool Equals(object obj) { if (obj == this) { return true; } EditorBrowsableAttribute other = obj as EditorBrowsableAttribute; return (other != null) && other.browsableState == browsableState; } public override int GetHashCode() { return base.GetHashCode(); } } ///[To be supplied.] ////// public enum EditorBrowsableState { ///[To be supplied.] ////// Always, ///[To be supplied.] ////// Never, ///[To be supplied.] ////// Advanced } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //[To be supplied.] ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Delegate | AttributeTargets.Interface)] public sealed class EditorBrowsableAttribute :Attribute { private EditorBrowsableState browsableState; ///[To be supplied.] ////// public EditorBrowsableAttribute (EditorBrowsableState state) { browsableState = state; } ///[To be supplied.] ////// public EditorBrowsableAttribute () :this (EditorBrowsableState.Always) {} ///[To be supplied.] ////// public EditorBrowsableState State { get { return browsableState;} } public override bool Equals(object obj) { if (obj == this) { return true; } EditorBrowsableAttribute other = obj as EditorBrowsableAttribute; return (other != null) && other.browsableState == browsableState; } public override int GetHashCode() { return base.GetHashCode(); } } ///[To be supplied.] ////// public enum EditorBrowsableState { ///[To be supplied.] ////// Always, ///[To be supplied.] ////// Never, ///[To be supplied.] ////// Advanced } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TimeSpanStorage.cs
- HotSpot.cs
- ProfileService.cs
- PenThreadPool.cs
- TextServicesCompartmentEventSink.cs
- IChannel.cs
- DataGridItemCollection.cs
- TdsParameterSetter.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- FacetChecker.cs
- ExpandCollapsePattern.cs
- ReachPageContentSerializer.cs
- WeakHashtable.cs
- EntityDataSourceView.cs
- PropertySourceInfo.cs
- ZoomingMessageFilter.cs
- BehaviorEditorPart.cs
- XmlConvert.cs
- XmlSerializerFactory.cs
- FileDialogCustomPlacesCollection.cs
- designeractionlistschangedeventargs.cs
- SiteOfOriginContainer.cs
- SpecialNameAttribute.cs
- NameValueSectionHandler.cs
- OpenTypeLayoutCache.cs
- TcpSocketManager.cs
- CodeAccessPermission.cs
- EncryptedPackageFilter.cs
- TextDecoration.cs
- PrimitiveCodeDomSerializer.cs
- ClosureBinding.cs
- TextParagraphCache.cs
- ControlBindingsConverter.cs
- GradientBrush.cs
- BinaryReader.cs
- DateTimeFormat.cs
- MouseGesture.cs
- FlowLayout.cs
- KeyInterop.cs
- TextBoxLine.cs
- SplashScreen.cs
- NetStream.cs
- templategroup.cs
- _emptywebproxy.cs
- NavigationPropertyAccessor.cs
- _UncName.cs
- DataGridState.cs
- ISAPIWorkerRequest.cs
- HttpApplication.cs
- FileEnumerator.cs
- HitTestDrawingContextWalker.cs
- DataConnectionHelper.cs
- SectionInput.cs
- WindowShowOrOpenTracker.cs
- DataServiceContext.cs
- DataGridBeginningEditEventArgs.cs
- AmbiguousMatchException.cs
- CqlParserHelpers.cs
- CustomDictionarySources.cs
- AttachmentCollection.cs
- BitmapFrame.cs
- GridViewPageEventArgs.cs
- NamedPipeAppDomainProtocolHandler.cs
- EventDescriptorCollection.cs
- NativeMethods.cs
- Typeface.cs
- LambdaCompiler.Statements.cs
- WebControlToolBoxItem.cs
- XmlnsPrefixAttribute.cs
- ContextDataSourceContextData.cs
- complextypematerializer.cs
- SimpleWorkerRequest.cs
- NativeWrapper.cs
- ControlCachePolicy.cs
- DesignerActionUIService.cs
- ExpressionConverter.cs
- _HeaderInfo.cs
- Zone.cs
- HierarchicalDataSourceControl.cs
- ColorAnimationBase.cs
- XamlSerializerUtil.cs
- XmlNamespaceManager.cs
- FocusWithinProperty.cs
- Pens.cs
- Exception.cs
- WebServiceErrorEvent.cs
- ITreeGenerator.cs
- DebugHandleTracker.cs
- SolidColorBrush.cs
- DataControlFieldCell.cs
- WebPartConnectionCollection.cs
- LambdaCompiler.Logical.cs
- SQLBinary.cs
- SortedList.cs
- HScrollProperties.cs
- TypeElement.cs
- EncodingNLS.cs
- BrushMappingModeValidation.cs
- WebReferencesBuildProvider.cs
- ProcessHostServerConfig.cs