Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ScriptDescriptor.cs
- DataMember.cs
- WindowsFormsSynchronizationContext.cs
- WebPartCollection.cs
- ArgumentException.cs
- SyntaxCheck.cs
- CompositeFontFamily.cs
- MetaTable.cs
- XmlJsonReader.cs
- FontResourceCache.cs
- ThreadStartException.cs
- SessionViewState.cs
- CommandField.cs
- DetailsViewUpdateEventArgs.cs
- ThousandthOfEmRealDoubles.cs
- VariableDesigner.xaml.cs
- ParserHooks.cs
- SqlClientFactory.cs
- WebConfigurationFileMap.cs
- UnlockCardRequest.cs
- KeyValueConfigurationElement.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- SelectionProviderWrapper.cs
- RemotingConfiguration.cs
- FrameworkElementFactory.cs
- CollectionBase.cs
- SHA384Managed.cs
- EntityClientCacheKey.cs
- PrintPageEvent.cs
- DataControlPagerLinkButton.cs
- SchemaEntity.cs
- QueryableFilterRepeater.cs
- ExceptionHandler.cs
- SerializationObjectManager.cs
- ExpandCollapseProviderWrapper.cs
- XmlObjectSerializerReadContextComplex.cs
- PathFigureCollectionConverter.cs
- AuthorizationRuleCollection.cs
- CommandValueSerializer.cs
- Relationship.cs
- ContainerUIElement3D.cs
- SafeArchiveContext.cs
- AlignmentXValidation.cs
- SystemColors.cs
- RenderDataDrawingContext.cs
- OutputCacheProfileCollection.cs
- ToolStripPanelRow.cs
- SQLUtility.cs
- DocumentReference.cs
- LinkConverter.cs
- WebSysDefaultValueAttribute.cs
- SqlInternalConnectionTds.cs
- ToolBarOverflowPanel.cs
- QueryOutputWriterV1.cs
- PublishLicense.cs
- ChannelBuilder.cs
- UpdateTranslator.cs
- ExpressionParser.cs
- AssociationSetMetadata.cs
- RangeValuePattern.cs
- UmAlQuraCalendar.cs
- IgnoreSection.cs
- MultiView.cs
- DtdParser.cs
- StrictAndMessageFilter.cs
- KeyValueInternalCollection.cs
- CustomAssemblyResolver.cs
- PopupRootAutomationPeer.cs
- ExpressionConverter.cs
- ReferencedType.cs
- WindowPatternIdentifiers.cs
- UnionCodeGroup.cs
- OrderByQueryOptionExpression.cs
- RSAPKCS1KeyExchangeFormatter.cs
- AncillaryOps.cs
- AmbientLight.cs
- AsyncSerializedWorker.cs
- SafeCryptContextHandle.cs
- LassoHelper.cs
- FacetDescription.cs
- DetailsView.cs
- XmlIterators.cs
- CommandDevice.cs
- ToolStripControlHost.cs
- LineServicesCallbacks.cs
- ColorContextHelper.cs
- SmiSettersStream.cs
- PropertyEmitterBase.cs
- TogglePattern.cs
- TraceContextRecord.cs
- XmlPreloadedResolver.cs
- SubclassTypeValidator.cs
- WsdlInspector.cs
- ListControl.cs
- EventEntry.cs
- DataObjectCopyingEventArgs.cs
- SplitContainerDesigner.cs
- PortCache.cs
- XamlStyleSerializer.cs
- CodeTypeMemberCollection.cs