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 / Diagnostics / SwitchLevelAttribute.cs / 1 / SwitchLevelAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Reflection; using System.Collections; namespace System.Diagnostics { [AttributeUsage(AttributeTargets.Class)] public sealed class SwitchLevelAttribute : Attribute { private Type type; public SwitchLevelAttribute (Type switchLevelType) { SwitchLevelType = switchLevelType; } public Type SwitchLevelType { get { return type;} set { if (value == null) throw new ArgumentNullException("value"); type = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Reflection; using System.Collections; namespace System.Diagnostics { [AttributeUsage(AttributeTargets.Class)] public sealed class SwitchLevelAttribute : Attribute { private Type type; public SwitchLevelAttribute (Type switchLevelType) { SwitchLevelType = switchLevelType; } public Type SwitchLevelType { get { return type;} set { if (value == null) throw new ArgumentNullException("value"); type = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpListenerException.cs
- SharedStatics.cs
- OleTxTransactionInfo.cs
- ColorBlend.cs
- DoubleLink.cs
- CultureSpecificCharacterBufferRange.cs
- PrePrepareMethodAttribute.cs
- TreeNodeConverter.cs
- ColorConverter.cs
- XmlSchemaProviderAttribute.cs
- ReaderWriterLockWrapper.cs
- SendingRequestEventArgs.cs
- ZipPackagePart.cs
- IdlingCommunicationPool.cs
- SafeRightsManagementPubHandle.cs
- FrameworkElement.cs
- CommandPlan.cs
- DataGridColumnReorderingEventArgs.cs
- CultureTableRecord.cs
- GPStream.cs
- GeometryDrawing.cs
- ElementsClipboardData.cs
- BinHexDecoder.cs
- CssClassPropertyAttribute.cs
- Authorization.cs
- MobileFormsAuthentication.cs
- XmlExtensionFunction.cs
- UTF8Encoding.cs
- HttpCapabilitiesBase.cs
- BackStopAuthenticationModule.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- TreeNodeMouseHoverEvent.cs
- WebException.cs
- VersionPair.cs
- ItemCheckEvent.cs
- Int32Storage.cs
- InstallerTypeAttribute.cs
- XamlTypeMapper.cs
- ValuePatternIdentifiers.cs
- CustomAttributeBuilder.cs
- _PooledStream.cs
- TextTreeText.cs
- AuthenticationService.cs
- EventToken.cs
- XmlSignatureProperties.cs
- CacheChildrenQuery.cs
- PropertyIDSet.cs
- WriteFileContext.cs
- WindowsMenu.cs
- SchemaImporterExtension.cs
- BindableAttribute.cs
- UInt32Converter.cs
- TagNameToTypeMapper.cs
- ToolStripTextBox.cs
- DragEventArgs.cs
- ObjectKeyFrameCollection.cs
- DataGridViewCellStyle.cs
- DBAsyncResult.cs
- RangeValuePatternIdentifiers.cs
- StylusPlugInCollection.cs
- NativeMethods.cs
- UserControlDesigner.cs
- StoreAnnotationsMap.cs
- DataRowCollection.cs
- TraceSection.cs
- DBAsyncResult.cs
- ServicePointManager.cs
- Int32CAMarshaler.cs
- DataQuery.cs
- WorkflowInstance.cs
- indexingfiltermarshaler.cs
- MenuItemCollectionEditorDialog.cs
- TextTrailingWordEllipsis.cs
- RowSpanVector.cs
- NotifyInputEventArgs.cs
- WebPartZone.cs
- CollectionDataContract.cs
- GridViewColumnHeaderAutomationPeer.cs
- HtmlFormAdapter.cs
- TabletDevice.cs
- MemberMaps.cs
- __TransparentProxy.cs
- InternalPermissions.cs
- EntitySetBase.cs
- TextTreeDeleteContentUndoUnit.cs
- VectorAnimationUsingKeyFrames.cs
- PrimitiveXmlSerializers.cs
- HttpDebugHandler.cs
- DispatchWrapper.cs
- BindToObject.cs
- SafeNativeMethods.cs
- AlternationConverter.cs
- DragDropHelper.cs
- ListDesigner.cs
- EventHandlersStore.cs
- BaseInfoTable.cs
- HttpChannelListener.cs
- PathTooLongException.cs
- ObjectKeyFrameCollection.cs
- PropertyValue.cs