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
- AssemblyNameEqualityComparer.cs
- MemoryStream.cs
- WebPartConnectVerb.cs
- JsonWriter.cs
- XPathNavigatorKeyComparer.cs
- SqlProviderUtilities.cs
- WsrmTraceRecord.cs
- ParserStreamGeometryContext.cs
- ItemsControlAutomationPeer.cs
- MethodImplAttribute.cs
- DependencyObjectPropertyDescriptor.cs
- DesignRelationCollection.cs
- PagedDataSource.cs
- OrderByLifter.cs
- UIElementCollection.cs
- WebPartUtil.cs
- Expressions.cs
- TogglePattern.cs
- LowerCaseStringConverter.cs
- StsCommunicationException.cs
- RuleSetBrowserDialog.cs
- SqlTrackingQuery.cs
- ErrorHandler.cs
- SqlServices.cs
- DragDrop.cs
- SerialErrors.cs
- ToolStripMenuItem.cs
- DataServiceRequestArgs.cs
- AtomServiceDocumentSerializer.cs
- StatusBarDrawItemEvent.cs
- XmlProcessingInstruction.cs
- EllipseGeometry.cs
- Drawing.cs
- RepeaterItem.cs
- ProxyWebPartConnectionCollection.cs
- RegexCompiler.cs
- Button.cs
- MemberDomainMap.cs
- ProgressPage.cs
- Int16Storage.cs
- PointLightBase.cs
- DetailsViewRowCollection.cs
- EntityContainerEntitySetDefiningQuery.cs
- RuleInfoComparer.cs
- SqlBooleanMismatchVisitor.cs
- AmbientProperties.cs
- EntitySqlQueryBuilder.cs
- XmlExtensionFunction.cs
- StyleHelper.cs
- ValueType.cs
- VersionPair.cs
- SafeEventLogWriteHandle.cs
- InkCanvasAutomationPeer.cs
- login.cs
- SystemDiagnosticsSection.cs
- HtmlShimManager.cs
- PolicyImporterElementCollection.cs
- ConfigurationSectionCollection.cs
- IDReferencePropertyAttribute.cs
- PeerNameRecord.cs
- GlyphTypeface.cs
- Figure.cs
- TimeSpanSecondsConverter.cs
- C14NUtil.cs
- Ipv6Element.cs
- SpeakInfo.cs
- EntityViewGenerationAttribute.cs
- PrivilegedConfigurationManager.cs
- ConfigDefinitionUpdates.cs
- MessageDecoder.cs
- FactoryGenerator.cs
- XmlMemberMapping.cs
- __Error.cs
- DataGridViewCellMouseEventArgs.cs
- TransformProviderWrapper.cs
- OleDbSchemaGuid.cs
- _CacheStreams.cs
- BaseProcessor.cs
- PersonalizationStateQuery.cs
- RuntimeCompatibilityAttribute.cs
- ItemsPanelTemplate.cs
- BindingWorker.cs
- ClockGroup.cs
- designeractionbehavior.cs
- PreservationFileWriter.cs
- WindowsListViewItemCheckBox.cs
- ISAPIRuntime.cs
- JoinQueryOperator.cs
- ClientRolePrincipal.cs
- DataControlImageButton.cs
- DataTableReaderListener.cs
- OutOfProcStateClientManager.cs
- Nullable.cs
- Positioning.cs
- ToolStripEditorManager.cs
- HierarchicalDataSourceControl.cs
- InsufficientMemoryException.cs
- basenumberconverter.cs
- EncoderExceptionFallback.cs
- BitmapEffectDrawingContextWalker.cs