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
- SqlDataSourceCommandParser.cs
- BuildProvider.cs
- NotifyCollectionChangedEventArgs.cs
- EventSchemaTraceListener.cs
- GcSettings.cs
- Overlapped.cs
- ProfileServiceManager.cs
- ArgIterator.cs
- MDIControlStrip.cs
- WebEventTraceProvider.cs
- NTAccount.cs
- SessionPageStateSection.cs
- ServiceModelSecurityTokenTypes.cs
- _Connection.cs
- TableLayoutPanelCellPosition.cs
- TreeNodeStyle.cs
- SHA384Managed.cs
- SymbolPair.cs
- SchemaType.cs
- ComplusEndpointConfigContainer.cs
- ReturnType.cs
- DependencyObjectType.cs
- CodeLabeledStatement.cs
- BooleanFacetDescriptionElement.cs
- coordinatorfactory.cs
- infer.cs
- ActivityWithResult.cs
- MergeFilterQuery.cs
- PropertyTab.cs
- DataServiceProviderWrapper.cs
- DrawingContext.cs
- ClosableStream.cs
- TableSectionStyle.cs
- TdsParserHelperClasses.cs
- XmlWrappingWriter.cs
- EtwTrace.cs
- TrackingDataItem.cs
- FunctionDetailsReader.cs
- DateTimeConstantAttribute.cs
- OperationParameterInfoCollection.cs
- ClusterRegistryConfigurationProvider.cs
- UInt64Converter.cs
- ItemsControl.cs
- SelectionProcessor.cs
- OptimalTextSource.cs
- TriState.cs
- GorillaCodec.cs
- TextTabProperties.cs
- selecteditemcollection.cs
- MetadataWorkspace.cs
- SendMessageRecord.cs
- CodeGenerator.cs
- Types.cs
- Rotation3DKeyFrameCollection.cs
- SimpleExpression.cs
- CryptoProvider.cs
- Block.cs
- BamlBinaryReader.cs
- ChannelToken.cs
- RelOps.cs
- TextBoxLine.cs
- ResourceContainer.cs
- SuppressMergeCheckAttribute.cs
- Group.cs
- DocumentsTrace.cs
- HttpRawResponse.cs
- ListViewUpdateEventArgs.cs
- TypeDelegator.cs
- TransformerInfo.cs
- httpstaticobjectscollection.cs
- CryptoApi.cs
- ControlHelper.cs
- CodeArrayIndexerExpression.cs
- WizardPanelChangingEventArgs.cs
- MsmqHostedTransportManager.cs
- XPathArrayIterator.cs
- WebBrowserBase.cs
- SingleStorage.cs
- HandleRef.cs
- BitmapDownload.cs
- BaseTemplateParser.cs
- uribuilder.cs
- SeparatorAutomationPeer.cs
- DeferredElementTreeState.cs
- SortedDictionary.cs
- CompiledQueryCacheEntry.cs
- WebPartEditVerb.cs
- ManipulationDelta.cs
- ExpandCollapseProviderWrapper.cs
- LayoutDump.cs
- infer.cs
- ImmComposition.cs
- ConnectionStringsSection.cs
- GridViewDeleteEventArgs.cs
- WebPartConnectionsCancelEventArgs.cs
- MonthChangedEventArgs.cs
- DnsCache.cs
- NativeMethods.cs
- FontUnitConverter.cs
- CommandDevice.cs