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
- OrderByQueryOptionExpression.cs
- ScopelessEnumAttribute.cs
- WorkflowOwnershipException.cs
- FormViewCommandEventArgs.cs
- control.ime.cs
- SqlResolver.cs
- webeventbuffer.cs
- parserscommon.cs
- ConnectionManagementElementCollection.cs
- ImageButton.cs
- ZoneButton.cs
- DefaultPrintController.cs
- CmsInterop.cs
- BinaryFormatter.cs
- XmlnsDefinitionAttribute.cs
- ConditionValidator.cs
- QEncodedStream.cs
- ConfigurationErrorsException.cs
- CacheEntry.cs
- PageRanges.cs
- OdbcEnvironmentHandle.cs
- InvalidateEvent.cs
- XsltContext.cs
- XmlUtf8RawTextWriter.cs
- ConfigurationStrings.cs
- EntityDataSourceDesignerHelper.cs
- SizeKeyFrameCollection.cs
- DBSqlParserColumnCollection.cs
- AsymmetricAlgorithm.cs
- Window.cs
- RSAPKCS1SignatureFormatter.cs
- IdentityModelDictionary.cs
- CompositeCollectionView.cs
- RuntimeArgumentHandle.cs
- PageBorderless.cs
- PropertyChangeTracker.cs
- DbConnectionPool.cs
- MessageSmuggler.cs
- NumberSubstitution.cs
- CodeExporter.cs
- DocumentViewerBase.cs
- Rotation3DAnimationUsingKeyFrames.cs
- AudioDeviceOut.cs
- CanonicalFontFamilyReference.cs
- ResourceReferenceKeyNotFoundException.cs
- PointKeyFrameCollection.cs
- ReaderWriterLock.cs
- DetailsViewRowCollection.cs
- SymmetricKeyWrap.cs
- PropertyEntry.cs
- DataGridViewColumn.cs
- messageonlyhwndwrapper.cs
- RSAOAEPKeyExchangeFormatter.cs
- BidPrivateBase.cs
- PixelShader.cs
- VisualBasic.cs
- dataprotectionpermission.cs
- LinqDataSource.cs
- ChildrenQuery.cs
- WindowPatternIdentifiers.cs
- WebAdminConfigurationHelper.cs
- IntellisenseTextBox.designer.cs
- Selection.cs
- AssociatedControlConverter.cs
- Trace.cs
- HandleCollector.cs
- XmlMembersMapping.cs
- GridViewDeletedEventArgs.cs
- SignatureHelper.cs
- DataObject.cs
- NavigationProperty.cs
- KeyTime.cs
- PanelDesigner.cs
- ComponentChangedEvent.cs
- Gdiplus.cs
- XmlEncodedRawTextWriter.cs
- XamlInt32CollectionSerializer.cs
- SimpleExpression.cs
- Vector3DAnimationBase.cs
- Profiler.cs
- InstanceView.cs
- Size3DValueSerializer.cs
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- Point.cs
- XmlUtil.cs
- HttpDictionary.cs
- WebPartCancelEventArgs.cs
- XmlDataFileEditor.cs
- SchemaTableColumn.cs
- IdnElement.cs
- recordstatefactory.cs
- EnumMember.cs
- NullableIntSumAggregationOperator.cs
- TextContainerHelper.cs
- FontInfo.cs
- FormsAuthenticationCredentials.cs
- ObjectViewFactory.cs
- CommandSet.cs
- DataGridViewAutoSizeModeEventArgs.cs
- TimeSpanValidatorAttribute.cs