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
- Italic.cs
- NullReferenceException.cs
- ThreadStaticAttribute.cs
- CacheMemory.cs
- TextContainerHelper.cs
- AdPostCacheSubstitution.cs
- Label.cs
- ServiceModelPerformanceCounters.cs
- WebRequestModuleElement.cs
- Scene3D.cs
- KeySpline.cs
- RotateTransform3D.cs
- DependencyPropertyAttribute.cs
- Monitor.cs
- LicFileLicenseProvider.cs
- DerivedKeySecurityToken.cs
- LinqDataSource.cs
- DataServiceEntityAttribute.cs
- unitconverter.cs
- Button.cs
- XLinq.cs
- AlternateViewCollection.cs
- DataGridViewDataConnection.cs
- PropertyGridEditorPart.cs
- RowsCopiedEventArgs.cs
- CommandField.cs
- ListViewGroupConverter.cs
- ConfigXmlComment.cs
- AnnotationHelper.cs
- QueryStringParameter.cs
- WebPartVerb.cs
- Emitter.cs
- SqlConnectionStringBuilder.cs
- WebServiceReceiveDesigner.cs
- ListViewItemEventArgs.cs
- Column.cs
- ObjectDataSource.cs
- FlowPosition.cs
- Typeface.cs
- EmptyStringExpandableObjectConverter.cs
- LogRecordSequence.cs
- URLEditor.cs
- Tool.cs
- XLinq.cs
- DiagnosticsConfiguration.cs
- TypeHelpers.cs
- DataServiceClientException.cs
- ToolStripButton.cs
- Utils.cs
- WaitHandle.cs
- SerTrace.cs
- MenuAdapter.cs
- WebServiceErrorEvent.cs
- ContextBase.cs
- ExpressionBindings.cs
- UnsafeNativeMethods.cs
- WebPartEditorApplyVerb.cs
- ExternalException.cs
- CompilerErrorCollection.cs
- SimpleMailWebEventProvider.cs
- CallbackDebugBehavior.cs
- SchemaEntity.cs
- StylusPointPropertyId.cs
- TypeElement.cs
- WebPartCancelEventArgs.cs
- CorrelationManager.cs
- XmlPropertyBag.cs
- _Semaphore.cs
- TimeEnumHelper.cs
- CollectionBase.cs
- CodeTypeParameter.cs
- DataGridViewCellEventArgs.cs
- XPathNode.cs
- MULTI_QI.cs
- assemblycache.cs
- CompilationUtil.cs
- EventLogPermissionHolder.cs
- HtmlTableRow.cs
- ScrollChrome.cs
- MouseBinding.cs
- CopyNamespacesAction.cs
- BindingListCollectionView.cs
- TcpTransportElement.cs
- SmtpDigestAuthenticationModule.cs
- ActiveXSite.cs
- AsyncResult.cs
- MissingMethodException.cs
- SByteStorage.cs
- Point3DAnimationBase.cs
- MetadataItem.cs
- SecurityContextKeyIdentifierClause.cs
- DiscoveryClientChannelBase.cs
- IssuanceLicense.cs
- WebServiceResponse.cs
- ScrollEvent.cs
- CharacterString.cs
- SplitterEvent.cs
- IdleTimeoutMonitor.cs
- Normalization.cs
- OletxDependentTransaction.cs