Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SafeNativeMethods.cs
- VisualBrush.cs
- OTFRasterizer.cs
- XmlConverter.cs
- FieldInfo.cs
- LineServices.cs
- DefaultObjectSerializer.cs
- HtmlInputText.cs
- UIntPtr.cs
- UseAttributeSetsAction.cs
- DynamicDataRoute.cs
- CompiledQueryCacheEntry.cs
- ToolStripDropDownClosingEventArgs.cs
- BaseParser.cs
- Brush.cs
- BinaryParser.cs
- CapabilitiesAssignment.cs
- MessageAction.cs
- GlobalProxySelection.cs
- PoisonMessageException.cs
- InvalidFilterCriteriaException.cs
- RemotingClientProxy.cs
- TraceHandlerErrorFormatter.cs
- AdornerHitTestResult.cs
- ValidationHelper.cs
- DesignTimeVisibleAttribute.cs
- ClientProxyGenerator.cs
- TargetException.cs
- PassportAuthenticationEventArgs.cs
- ResourceAttributes.cs
- Event.cs
- PerformanceCounterLib.cs
- WorkflowNamespace.cs
- BatchParser.cs
- MarshalDirectiveException.cs
- SystemSounds.cs
- ArithmeticException.cs
- HtmlElementErrorEventArgs.cs
- HtmlTableCellCollection.cs
- ClientRuntime.cs
- DesignOnlyAttribute.cs
- TimeSpanParse.cs
- ConfigXmlWhitespace.cs
- ParseElement.cs
- CfgParser.cs
- PasswordRecoveryAutoFormat.cs
- Suspend.cs
- Expression.cs
- HtmlContainerControl.cs
- ConfigurationLocationCollection.cs
- EncryptedKeyIdentifierClause.cs
- CharStorage.cs
- streamingZipPartStream.cs
- DynamicDataRouteHandler.cs
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- AxHost.cs
- TextEditorContextMenu.cs
- EntitySqlException.cs
- UIElementPropertyUndoUnit.cs
- StyleCollection.cs
- Properties.cs
- MenuAdapter.cs
- UrlSyndicationContent.cs
- CardSpaceException.cs
- TableRowsCollectionEditor.cs
- ProgressiveCrcCalculatingStream.cs
- SqlUserDefinedAggregateAttribute.cs
- PKCS1MaskGenerationMethod.cs
- AsyncPostBackTrigger.cs
- MetadataArtifactLoaderFile.cs
- ObjectQuery_EntitySqlExtensions.cs
- PeerObject.cs
- WinFormsUtils.cs
- SerializationAttributes.cs
- UpdatePanelTrigger.cs
- FormView.cs
- MouseGestureConverter.cs
- RuntimeConfig.cs
- BuilderInfo.cs
- ConfigXmlWhitespace.cs
- CollectionTraceRecord.cs
- Point3DCollection.cs
- ToolStripProgressBar.cs
- IIS7WorkerRequest.cs
- LineServicesRun.cs
- ContractsBCL.cs
- GeometryCollection.cs
- FontWeights.cs
- ToolStripSplitStackLayout.cs
- PropertyFilterAttribute.cs
- SystemSounds.cs
- PropertyGridEditorPart.cs
- ImageCollectionEditor.cs
- ImageDrawing.cs
- MsmqReceiveParameters.cs
- CodeCastExpression.cs
- ListDictionaryInternal.cs
- QuotedPrintableStream.cs
- AddValidationError.cs
- DPCustomTypeDescriptor.cs