Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / ComponentModel / EditorBrowsableAttribute.cs / 1 / 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
- XmlSchemaComplexType.cs
- SqlFacetAttribute.cs
- SiteMapProvider.cs
- SByteConverter.cs
- StreamResourceInfo.cs
- SystemResourceHost.cs
- Base64Encoder.cs
- UpdateException.cs
- IndexedString.cs
- GenericIdentity.cs
- UnsafeNativeMethods.cs
- Action.cs
- Soap12ProtocolImporter.cs
- SqlDataSourceCache.cs
- ToolStripPanelCell.cs
- SectionInput.cs
- ContextMenu.cs
- URI.cs
- ItemContainerProviderWrapper.cs
- LoginAutoFormat.cs
- Command.cs
- EntityObject.cs
- ClientRoleProvider.cs
- StringPropertyBuilder.cs
- ActivityBindForm.Designer.cs
- StateElementCollection.cs
- DictionaryEntry.cs
- ReflectEventDescriptor.cs
- CodeEventReferenceExpression.cs
- ObfuscateAssemblyAttribute.cs
- SystemException.cs
- MulticastNotSupportedException.cs
- FileReservationCollection.cs
- MobileCategoryAttribute.cs
- CodeArgumentReferenceExpression.cs
- WebExceptionStatus.cs
- CompressedStack.cs
- SqlProviderServices.cs
- OrderByBuilder.cs
- WindowInteropHelper.cs
- FontFaceLayoutInfo.cs
- RunWorkerCompletedEventArgs.cs
- XmlNamedNodeMap.cs
- ImageAttributes.cs
- EventProviderBase.cs
- BaseComponentEditor.cs
- ThreadStateException.cs
- StreamReader.cs
- SqlParameter.cs
- IsolatedStorageFile.cs
- DynamicILGenerator.cs
- GroupBox.cs
- OverflowException.cs
- CookieHandler.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Errors.cs
- TypeHelper.cs
- MailMessageEventArgs.cs
- CanonicalFontFamilyReference.cs
- FunctionDescription.cs
- CacheDict.cs
- FixedPageProcessor.cs
- StorageEndPropertyMapping.cs
- StorageAssociationTypeMapping.cs
- RemotingSurrogateSelector.cs
- DescendentsWalkerBase.cs
- PasswordDeriveBytes.cs
- LogFlushAsyncResult.cs
- MetadataArtifactLoaderCompositeFile.cs
- ServiceHttpModule.cs
- FlowDocumentFormatter.cs
- ModelToObjectValueConverter.cs
- ELinqQueryState.cs
- MULTI_QI.cs
- TypeUnloadedException.cs
- NamespaceList.cs
- DbCommandDefinition.cs
- LinkedList.cs
- LinkUtilities.cs
- WebPartConnectionsConnectVerb.cs
- PolyQuadraticBezierSegment.cs
- TileBrush.cs
- ProjectionCamera.cs
- RepeaterCommandEventArgs.cs
- WebScriptMetadataMessageEncoderFactory.cs
- _emptywebproxy.cs
- SinglePhaseEnlistment.cs
- AtlasWeb.Designer.cs
- DataGridViewTopRowAccessibleObject.cs
- DrawingGroup.cs
- XmlStringTable.cs
- Header.cs
- ParserExtension.cs
- AtomPub10CategoriesDocumentFormatter.cs
- DnsEndPoint.cs
- Constants.cs
- SharedPersonalizationStateInfo.cs
- Mappings.cs
- RedistVersionInfo.cs
- DayRenderEvent.cs