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
- NotificationContext.cs
- BinaryQueryOperator.cs
- ToolStripRendererSwitcher.cs
- FormParameter.cs
- BindingManagerDataErrorEventArgs.cs
- SqlUtils.cs
- CriticalFinalizerObject.cs
- TypeNameConverter.cs
- MouseButton.cs
- Container.cs
- TextContainerHelper.cs
- DesignerProperties.cs
- DbConnectionStringCommon.cs
- GroupJoinQueryOperator.cs
- Compiler.cs
- DelegatingStream.cs
- Stopwatch.cs
- HttpHeaderCollection.cs
- SoapObjectReader.cs
- ConditionalAttribute.cs
- Evaluator.cs
- EventDescriptor.cs
- TdsValueSetter.cs
- HtmlEmptyTagControlBuilder.cs
- CrossAppDomainChannel.cs
- SafeFileMappingHandle.cs
- CompositionDesigner.cs
- DbProviderConfigurationHandler.cs
- OdbcDataAdapter.cs
- SchemaImporterExtensionElement.cs
- ImageSource.cs
- VisualStyleRenderer.cs
- WebPartTransformerAttribute.cs
- VectorValueSerializer.cs
- AspNetSynchronizationContext.cs
- XmlAnyAttributeAttribute.cs
- XPathExpr.cs
- StringCollection.cs
- Separator.cs
- RelOps.cs
- DataServiceHostFactory.cs
- DifferencingCollection.cs
- WindowsIdentity.cs
- UIntPtr.cs
- TextTreeRootTextBlock.cs
- ResourceContainer.cs
- SQLStringStorage.cs
- PrintDocument.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- MarkupObject.cs
- WebConfigurationHost.cs
- ChannelSinkStacks.cs
- ErrorEventArgs.cs
- HtmlControlPersistable.cs
- XpsDocumentEvent.cs
- WorkflowServiceBehavior.cs
- LineBreak.cs
- DropSource.cs
- OutputWindow.cs
- SynchronizationLockException.cs
- AttachmentService.cs
- HttpConfigurationContext.cs
- StringConverter.cs
- OperatorExpressions.cs
- X509RawDataKeyIdentifierClause.cs
- AttributeUsageAttribute.cs
- UpdateProgress.cs
- Logging.cs
- Comparer.cs
- SystemTcpStatistics.cs
- FileChangesMonitor.cs
- ScrollBarRenderer.cs
- ClientScriptManagerWrapper.cs
- BitmapEffectDrawingContextWalker.cs
- SiteMapNodeItemEventArgs.cs
- AsyncOperation.cs
- AsyncDataRequest.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- DataServiceException.cs
- Light.cs
- Message.cs
- DoubleLinkList.cs
- EntityExpressionVisitor.cs
- Bold.cs
- Transactions.cs
- ToolStripTextBox.cs
- OleDbInfoMessageEvent.cs
- ObjectStateEntryDbDataRecord.cs
- Transform3DGroup.cs
- _RequestLifetimeSetter.cs
- EncodingNLS.cs
- ArgIterator.cs
- ScalarType.cs
- NavigationProperty.cs
- SrgsText.cs
- Bidi.cs
- TransactionFilter.cs
- XmlSchemaExporter.cs
- Imaging.cs
- EdmItemCollection.cs