Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- UnsafeNetInfoNativeMethods.cs
- Win32NamedPipes.cs
- NoneExcludedImageIndexConverter.cs
- UnconditionalPolicy.cs
- InkCollectionBehavior.cs
- ISAPIApplicationHost.cs
- ByteConverter.cs
- Msmq3PoisonHandler.cs
- SymmetricAlgorithm.cs
- PeerName.cs
- StickyNote.cs
- ColorInterpolationModeValidation.cs
- SignatureConfirmationElement.cs
- TableRowGroup.cs
- ParallelQuery.cs
- PostBackOptions.cs
- SoapObjectReader.cs
- ListViewUpdatedEventArgs.cs
- ConnectionsZone.cs
- SByteStorage.cs
- ArrayList.cs
- SmtpLoginAuthenticationModule.cs
- TextTrailingWordEllipsis.cs
- _UriSyntax.cs
- ReadingWritingEntityEventArgs.cs
- QilInvokeLateBound.cs
- SpecularMaterial.cs
- SuppressIldasmAttribute.cs
- XPathEmptyIterator.cs
- EncryptedType.cs
- DeferredTextReference.cs
- CodeArrayCreateExpression.cs
- EnumerableCollectionView.cs
- TagNameToTypeMapper.cs
- AttributeUsageAttribute.cs
- SortedDictionary.cs
- ReplyChannel.cs
- ComponentRenameEvent.cs
- XPathAxisIterator.cs
- LayoutEditorPart.cs
- SelectionProcessor.cs
- Relationship.cs
- DragDeltaEventArgs.cs
- EmbeddedMailObjectsCollection.cs
- TextTreeRootNode.cs
- HMACMD5.cs
- DataGridViewComboBoxColumn.cs
- ParserOptions.cs
- CodeSubDirectoriesCollection.cs
- VectorAnimationUsingKeyFrames.cs
- BasePattern.cs
- HostingEnvironmentSection.cs
- LookupNode.cs
- Encoding.cs
- BindableAttribute.cs
- FrameworkRichTextComposition.cs
- CodeTypeOfExpression.cs
- COM2PropertyDescriptor.cs
- LineServices.cs
- RuleSetDialog.cs
- SwitchLevelAttribute.cs
- AspNetCompatibilityRequirementsMode.cs
- TypeUnloadedException.cs
- PersonalizationEntry.cs
- ComponentEditorForm.cs
- Propagator.Evaluator.cs
- SqlDataSourceFilteringEventArgs.cs
- HostProtectionException.cs
- mda.cs
- TextEditorTables.cs
- ConstraintStruct.cs
- BehaviorEditorPart.cs
- JoinGraph.cs
- Inline.cs
- HtmlInputRadioButton.cs
- SettingsPropertyIsReadOnlyException.cs
- TimerElapsedEvenArgs.cs
- RepeatBehaviorConverter.cs
- HTMLTagNameToTypeMapper.cs
- SqlPersonalizationProvider.cs
- COM2Properties.cs
- Select.cs
- Rotation3DAnimationBase.cs
- FontEmbeddingManager.cs
- EndOfStreamException.cs
- HtmlWindow.cs
- WebPartEditorApplyVerb.cs
- InputLanguageCollection.cs
- DecimalAverageAggregationOperator.cs
- HttpModuleActionCollection.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- SqlConnection.cs
- ContentPresenter.cs
- ICspAsymmetricAlgorithm.cs
- XmlDataProvider.cs
- Win32KeyboardDevice.cs
- XmlMemberMapping.cs
- SynchronizedDispatch.cs
- Nodes.cs
- EntitySqlQueryState.cs