Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- SubqueryTrackingVisitor.cs
- FontCollection.cs
- SmtpException.cs
- InvokeProviderWrapper.cs
- WebPartVerb.cs
- activationcontext.cs
- DateTime.cs
- TcpPortSharing.cs
- RegexRunnerFactory.cs
- ValueQuery.cs
- ShutDownListener.cs
- PackageDigitalSignatureManager.cs
- CharacterShapingProperties.cs
- TabletDevice.cs
- DateTimeParse.cs
- ZeroOpNode.cs
- EditBehavior.cs
- EmptyQuery.cs
- XslVisitor.cs
- IResourceProvider.cs
- LineBreakRecord.cs
- PinnedBufferMemoryStream.cs
- TimerElapsedEvenArgs.cs
- ImpersonateTokenRef.cs
- AttributeData.cs
- RuntimeVariablesExpression.cs
- RegexCompiler.cs
- WebPartHeaderCloseVerb.cs
- SoapDocumentMethodAttribute.cs
- X509CertificateValidator.cs
- SqlDataAdapter.cs
- HostingEnvironmentWrapper.cs
- ExceptionAggregator.cs
- MeasureItemEvent.cs
- ReadOnlyDataSourceView.cs
- ArgumentOutOfRangeException.cs
- DesignTimeParseData.cs
- SqlConnectionStringBuilder.cs
- CommandField.cs
- PriorityBinding.cs
- Geometry3D.cs
- ThrowHelper.cs
- CustomAttributeSerializer.cs
- RuntimeEnvironment.cs
- ChineseLunisolarCalendar.cs
- SafeRightsManagementHandle.cs
- SchemaImporterExtension.cs
- ModuleBuilderData.cs
- TableProvider.cs
- ViewCellSlot.cs
- PaintValueEventArgs.cs
- CustomAttribute.cs
- CaseExpr.cs
- BoundPropertyEntry.cs
- SchemaSetCompiler.cs
- CapabilitiesRule.cs
- Italic.cs
- XPathNodeHelper.cs
- SourceInterpreter.cs
- Context.cs
- ZoneLinkButton.cs
- SafeFileMappingHandle.cs
- SoapTypeAttribute.cs
- TypedOperationInfo.cs
- IconBitmapDecoder.cs
- MappingModelBuildProvider.cs
- LongMinMaxAggregationOperator.cs
- WebPartManager.cs
- AnnotationObservableCollection.cs
- TableRowGroup.cs
- Debugger.cs
- QueryPageSettingsEventArgs.cs
- SmtpLoginAuthenticationModule.cs
- SplitterCancelEvent.cs
- TaskFormBase.cs
- HttpModuleAction.cs
- WebPartEventArgs.cs
- ObjectStateManager.cs
- ListViewEditEventArgs.cs
- DiscoveryMessageSequenceCD1.cs
- DynamicRendererThreadManager.cs
- CompositeDataBoundControl.cs
- XPathNodeIterator.cs
- UnsafeNetInfoNativeMethods.cs
- SiteMapDataSourceView.cs
- PerformanceCounterScope.cs
- XPathEmptyIterator.cs
- ColorMatrix.cs
- HttpCookiesSection.cs
- NetPipeSection.cs
- DataServiceQueryProvider.cs
- ExpandCollapseProviderWrapper.cs
- HyperLinkStyle.cs
- Quaternion.cs
- ReflectionPermission.cs
- ToolStripItemTextRenderEventArgs.cs
- InstanceKey.cs
- CommonObjectSecurity.cs
- RemotingSurrogateSelector.cs
- DeviceContext.cs