Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ProfilePropertySettingsCollection.cs
- Translator.cs
- MetafileHeaderWmf.cs
- HtmlProps.cs
- ContractComponent.cs
- InternalResources.cs
- TextChangedEventArgs.cs
- EdmRelationshipRoleAttribute.cs
- MarshalByRefObject.cs
- QilValidationVisitor.cs
- CachedTypeface.cs
- MultiSelectRootGridEntry.cs
- TCPListener.cs
- MatchingStyle.cs
- BitFlagsGenerator.cs
- ResourceAssociationSet.cs
- MessageQueue.cs
- ScriptingProfileServiceSection.cs
- Odbc32.cs
- AnnotationHelper.cs
- StylusPointDescription.cs
- BinaryFormatterWriter.cs
- CheckBoxPopupAdapter.cs
- RefreshPropertiesAttribute.cs
- EventDescriptorCollection.cs
- VirtualPathUtility.cs
- DataListCommandEventArgs.cs
- MultiByteCodec.cs
- DebugController.cs
- Constants.cs
- FileAuthorizationModule.cs
- NavigationWindowAutomationPeer.cs
- base64Transforms.cs
- EdmScalarPropertyAttribute.cs
- AuthenticatingEventArgs.cs
- ValidationEventArgs.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- TaiwanLunisolarCalendar.cs
- PropertyChangingEventArgs.cs
- BinaryFormatter.cs
- AssociationSet.cs
- UnsafeNativeMethodsTablet.cs
- DependencyObjectProvider.cs
- ViewDesigner.cs
- TextRangeAdaptor.cs
- Tokenizer.cs
- PtsContext.cs
- ValidationHelper.cs
- WebBaseEventKeyComparer.cs
- basevalidator.cs
- TaskExtensions.cs
- SplitterCancelEvent.cs
- indexingfiltermarshaler.cs
- StreamWithDictionary.cs
- HtmlTable.cs
- TreeBuilderXamlTranslator.cs
- PictureBox.cs
- MenuItemStyle.cs
- InputBinder.cs
- TableColumnCollection.cs
- DefaultAuthorizationContext.cs
- AsyncMethodInvoker.cs
- RestHandlerFactory.cs
- SafeFileMappingHandle.cs
- DisplayNameAttribute.cs
- SoapIncludeAttribute.cs
- XmlDataProvider.cs
- CookieParameter.cs
- ProjectionPruner.cs
- RegexEditorDialog.cs
- SamlAction.cs
- ChannelServices.cs
- exports.cs
- DBParameter.cs
- FacetDescriptionElement.cs
- LayoutDump.cs
- DurationConverter.cs
- Converter.cs
- DetailsView.cs
- EventItfInfo.cs
- DynamicContractTypeBuilder.cs
- RenderDataDrawingContext.cs
- SqlDependency.cs
- MessageQueueKey.cs
- HttpClientCredentialType.cs
- NameTable.cs
- HtmlInputButton.cs
- StylusTip.cs
- XmlQueryStaticData.cs
- Certificate.cs
- SqlWriter.cs
- EntityClassGenerator.cs
- DataColumn.cs
- ObjectStateManager.cs
- CharAnimationBase.cs
- HybridDictionary.cs
- ObjectItemLoadingSessionData.cs
- IChannel.cs
- MSAANativeProvider.cs
- Publisher.cs