Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / Diagnostics / SwitchLevelAttribute.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ResourcesGenerator.cs
- UrlPath.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- ColumnMap.cs
- ImmutableObjectAttribute.cs
- SqlGenerator.cs
- SystemNetworkInterface.cs
- CompressEmulationStream.cs
- ContractTypeNameElement.cs
- FtpCachePolicyElement.cs
- RegexCompilationInfo.cs
- DbConnectionOptions.cs
- TextComposition.cs
- DbQueryCommandTree.cs
- PlainXmlDeserializer.cs
- _NegotiateClient.cs
- PriorityRange.cs
- EntityAdapter.cs
- SortableBindingList.cs
- Rules.cs
- Variant.cs
- IsolatedStoragePermission.cs
- RoutedEvent.cs
- SpeakCompletedEventArgs.cs
- Synchronization.cs
- GeneralTransform2DTo3D.cs
- CollectionChangedEventManager.cs
- TargetControlTypeAttribute.cs
- __Error.cs
- XmlException.cs
- KeyTime.cs
- JapaneseCalendar.cs
- UriParserTemplates.cs
- PrintController.cs
- ResourceProviderFactory.cs
- XmlSiteMapProvider.cs
- BinaryParser.cs
- IOThreadScheduler.cs
- Block.cs
- HttpClientChannel.cs
- StructuralType.cs
- AnnotationMap.cs
- KeyValueConfigurationElement.cs
- LifetimeServices.cs
- pingexception.cs
- ValidationPropertyAttribute.cs
- HostedElements.cs
- SplitterEvent.cs
- Rotation3DAnimation.cs
- ToolStripRenderEventArgs.cs
- WebReferenceCollection.cs
- RunInstallerAttribute.cs
- OutputCacheSection.cs
- OperationAbortedException.cs
- GridViewRowCollection.cs
- ErrorHandler.cs
- MoveSizeWinEventHandler.cs
- InlineUIContainer.cs
- ImageBrush.cs
- Exceptions.cs
- CodeGenerationManager.cs
- SessionEndingCancelEventArgs.cs
- NullableLongSumAggregationOperator.cs
- MemberExpression.cs
- SinglePageViewer.cs
- XmlDocumentSurrogate.cs
- StringResourceManager.cs
- DbDataReader.cs
- ToolStripDesignerAvailabilityAttribute.cs
- DirectoryObjectSecurity.cs
- DataGridViewIntLinkedList.cs
- CompilationUtil.cs
- ConstructorExpr.cs
- DiagnosticTraceSource.cs
- StickyNoteHelper.cs
- GroupPartitionExpr.cs
- OrthographicCamera.cs
- SystemIPv4InterfaceProperties.cs
- WorkflowOperationInvoker.cs
- StyleConverter.cs
- ToolStripSeparatorRenderEventArgs.cs
- SecurityProtocol.cs
- RuleInfoComparer.cs
- EntitySetBase.cs
- CommunicationException.cs
- SizeFConverter.cs
- SessionParameter.cs
- JoinTreeNode.cs
- RequestCachingSection.cs
- Profiler.cs
- FileVersion.cs
- CommandField.cs
- __ConsoleStream.cs
- SecurityTokenParameters.cs
- StretchValidation.cs
- StrokeFIndices.cs
- UnsafeNativeMethods.cs
- PromptBuilder.cs
- ReadOnlyDictionary.cs
- XmlNamespaceMappingCollection.cs