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
- DotExpr.cs
- DeviceContext.cs
- ParentQuery.cs
- Selector.cs
- ScriptingSectionGroup.cs
- DeviceFilterEditorDialog.cs
- NamespaceMapping.cs
- Vector3DCollectionConverter.cs
- DbSetClause.cs
- DesignerActionItemCollection.cs
- DataSourceControlBuilder.cs
- PenLineCapValidation.cs
- DataGridViewCellParsingEventArgs.cs
- OrderedDictionary.cs
- HwndAppCommandInputProvider.cs
- PieceNameHelper.cs
- BaseDataBoundControl.cs
- DescendentsWalker.cs
- TextViewSelectionProcessor.cs
- CollectionsUtil.cs
- FormViewUpdatedEventArgs.cs
- OleDbSchemaGuid.cs
- AssemblyLoader.cs
- WindowsTokenRoleProvider.cs
- FontNamesConverter.cs
- DetailsViewPageEventArgs.cs
- TableLayoutSettings.cs
- FixedDocumentSequencePaginator.cs
- DoubleIndependentAnimationStorage.cs
- CallId.cs
- HttpResponse.cs
- ToolBar.cs
- FlowDocumentScrollViewer.cs
- Trigger.cs
- ForwardPositionQuery.cs
- MonthChangedEventArgs.cs
- ProxyWebPart.cs
- KeyPressEvent.cs
- HttpWriter.cs
- ProcessHost.cs
- XmlWrappingReader.cs
- RegexMatchCollection.cs
- SchemaInfo.cs
- TextTreeInsertUndoUnit.cs
- ValidationSummary.cs
- _LazyAsyncResult.cs
- CompletionProxy.cs
- Evaluator.cs
- TrackingValidationObjectDictionary.cs
- Component.cs
- DropDownButton.cs
- SqlDataSourceEnumerator.cs
- ControlBindingsCollection.cs
- Automation.cs
- Timeline.cs
- SelectionProviderWrapper.cs
- HttpCacheVary.cs
- DoubleStorage.cs
- PackageStore.cs
- XmlAttribute.cs
- SchemaImporter.cs
- SupportsEventValidationAttribute.cs
- LogRestartAreaEnumerator.cs
- StringCollection.cs
- XmlSchemaObject.cs
- ProgressBarRenderer.cs
- PropertyDescriptorComparer.cs
- CommandCollectionEditor.cs
- XmlMapping.cs
- GeometryDrawing.cs
- CheckBoxPopupAdapter.cs
- _LocalDataStoreMgr.cs
- ReliabilityContractAttribute.cs
- ReadonlyMessageFilter.cs
- QilLoop.cs
- AspNetSynchronizationContext.cs
- ValidateNames.cs
- ReachDocumentReferenceCollectionSerializer.cs
- X509AsymmetricSecurityKey.cs
- NullRuntimeConfig.cs
- DataGridColumnStyleMappingNameEditor.cs
- GridViewRowCollection.cs
- CodeThrowExceptionStatement.cs
- SpeechDetectedEventArgs.cs
- DataBindingCollection.cs
- MultipartIdentifier.cs
- IdnElement.cs
- PropertyDescriptorComparer.cs
- FaultContractInfo.cs
- DataGridViewEditingControlShowingEventArgs.cs
- DisplayNameAttribute.cs
- TraceContext.cs
- QualifierSet.cs
- MatrixStack.cs
- XmlDeclaration.cs
- ManagementEventArgs.cs
- WebPartZoneDesigner.cs
- DescriptionAttribute.cs
- CodeConditionStatement.cs
- InlineCollection.cs