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
- ValidatingReaderNodeData.cs
- Stack.cs
- DataSourceCollectionBase.cs
- SizeAnimationClockResource.cs
- AbstractSvcMapFileLoader.cs
- ContextMenuService.cs
- MaterialCollection.cs
- Object.cs
- ClientConvert.cs
- Int32Rect.cs
- DesignerEventService.cs
- DPTypeDescriptorContext.cs
- LinearQuaternionKeyFrame.cs
- HttpStaticObjectsCollectionWrapper.cs
- BamlWriter.cs
- XmlDataSourceNodeDescriptor.cs
- UnsafeNativeMethods.cs
- NamespaceCollection.cs
- DataView.cs
- X509Certificate.cs
- OrthographicCamera.cs
- XmlImplementation.cs
- DataColumnPropertyDescriptor.cs
- KeyGestureConverter.cs
- ComboBox.cs
- DataTransferEventArgs.cs
- DoubleKeyFrameCollection.cs
- ColorAnimation.cs
- ErrorProvider.cs
- TryCatch.cs
- SessionEndedEventArgs.cs
- Preprocessor.cs
- Misc.cs
- SQLRoleProvider.cs
- CacheOutputQuery.cs
- DataBindingExpressionBuilder.cs
- ConsumerConnectionPoint.cs
- MaskInputRejectedEventArgs.cs
- DeleteWorkflowOwnerCommand.cs
- SortDescriptionCollection.cs
- DescriptionCreator.cs
- OdbcException.cs
- DataObjectFieldAttribute.cs
- AdornerDecorator.cs
- RowUpdatingEventArgs.cs
- HttpResponseInternalBase.cs
- XsdDataContractExporter.cs
- RoleManagerSection.cs
- SQLMembershipProvider.cs
- XmlReader.cs
- BindingMAnagerBase.cs
- AnnotationMap.cs
- WebServiceFaultDesigner.cs
- AuthenticationModulesSection.cs
- RuntimeHandles.cs
- StyleSheet.cs
- XPathParser.cs
- TypeUnloadedException.cs
- StateMachineDesignerPaint.cs
- Grant.cs
- SvcMapFile.cs
- ProtocolsConfigurationEntry.cs
- MasterPageBuildProvider.cs
- ComponentManagerBroker.cs
- HybridDictionary.cs
- UpdateException.cs
- DataSetSchema.cs
- PageThemeBuildProvider.cs
- DesignerActionListCollection.cs
- ListBoxChrome.cs
- XmlQueryContext.cs
- CalendarData.cs
- ConstraintCollection.cs
- Blend.cs
- WebAdminConfigurationHelper.cs
- UInt64Storage.cs
- FakeModelPropertyImpl.cs
- ZipIOCentralDirectoryFileHeader.cs
- Publisher.cs
- DataSourceHelper.cs
- TrustLevel.cs
- DefaultBinder.cs
- ProxyWebPartManager.cs
- IdentityReference.cs
- FontFamilyValueSerializer.cs
- DebugTracing.cs
- OdbcConnectionHandle.cs
- BinaryFormatter.cs
- RegistrationServices.cs
- XPathAncestorQuery.cs
- FixedSOMPageConstructor.cs
- MatrixValueSerializer.cs
- PageTrueTypeFont.cs
- XmlBinaryReader.cs
- ButtonColumn.cs
- Matrix.cs
- PartialArray.cs
- PluralizationServiceUtil.cs
- _SslState.cs
- List.cs