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
- LineServices.cs
- SemanticValue.cs
- DataContractSerializerMessageContractImporter.cs
- ManagementEventWatcher.cs
- OutgoingWebResponseContext.cs
- DataGridViewAccessibleObject.cs
- PixelFormat.cs
- TdsValueSetter.cs
- EdmScalarPropertyAttribute.cs
- MenuAutomationPeer.cs
- SqlVersion.cs
- BoundsDrawingContextWalker.cs
- DesignerLoader.cs
- AppDomainProtocolHandler.cs
- Object.cs
- UserMapPath.cs
- MessageQueuePermissionAttribute.cs
- control.ime.cs
- OdbcErrorCollection.cs
- OracleParameter.cs
- SecurityHelper.cs
- PermissionRequestEvidence.cs
- DictionaryEntry.cs
- DesignerActionUIService.cs
- WebConfigurationHostFileChange.cs
- TextEndOfSegment.cs
- PrintDocument.cs
- TraceInternal.cs
- WebGetAttribute.cs
- RecognizerStateChangedEventArgs.cs
- SpeechUI.cs
- OrCondition.cs
- CreateUserWizardAutoFormat.cs
- TextEffectCollection.cs
- SetStoryboardSpeedRatio.cs
- ValidateNames.cs
- EntityModelSchemaGenerator.cs
- SqlUdtInfo.cs
- IRCollection.cs
- TextRangeEditLists.cs
- DataGridColumnCollection.cs
- BinaryReader.cs
- HierarchicalDataSourceControl.cs
- AdditionalEntityFunctions.cs
- EncoderFallback.cs
- HttpHandlersSection.cs
- BindingNavigator.cs
- TextEditorTables.cs
- Adorner.cs
- TimeSpanValidator.cs
- InheritanceAttribute.cs
- ApplicationManager.cs
- FormViewDeletedEventArgs.cs
- TypeGeneratedEventArgs.cs
- FocusTracker.cs
- ConfigurationConverterBase.cs
- MarshalDirectiveException.cs
- MessageAction.cs
- DataSourceSelectArguments.cs
- PeerObject.cs
- XmlElementAttributes.cs
- MetadataHelper.cs
- OleDbTransaction.cs
- AutomationPatternInfo.cs
- UnsafeNativeMethods.cs
- DataGridViewRowsRemovedEventArgs.cs
- BindingExpressionBase.cs
- HtmlElementErrorEventArgs.cs
- EdmProviderManifest.cs
- NamedElement.cs
- Helper.cs
- TargetException.cs
- XamlFrame.cs
- DoubleCollectionConverter.cs
- HiddenFieldPageStatePersister.cs
- AsynchronousChannel.cs
- TextWriterTraceListener.cs
- ConnectionManagementElementCollection.cs
- SmtpDigestAuthenticationModule.cs
- TextEffect.cs
- StringReader.cs
- MessageLogTraceRecord.cs
- RemoteHelper.cs
- CssTextWriter.cs
- SerializableTypeCodeDomSerializer.cs
- RTLAwareMessageBox.cs
- CustomAttribute.cs
- SqlInternalConnectionTds.cs
- ComponentResourceKey.cs
- ReceiveCompletedEventArgs.cs
- TraceSwitch.cs
- ViewBase.cs
- DataListItem.cs
- LoadGrammarCompletedEventArgs.cs
- CompilerInfo.cs
- GenerateTemporaryTargetAssembly.cs
- DataBinder.cs
- DataObjectSettingDataEventArgs.cs
- RegexCharClass.cs
- FixUpCollection.cs