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
- DBCSCodePageEncoding.cs
- ToolboxComponentsCreatedEventArgs.cs
- MasterPage.cs
- HtmlInputButton.cs
- Drawing.cs
- WebAdminConfigurationHelper.cs
- ZoneButton.cs
- _FtpDataStream.cs
- ApplicationProxyInternal.cs
- EntityDataSourceStatementEditor.cs
- CaseInsensitiveComparer.cs
- AutomationPropertyInfo.cs
- TextRange.cs
- BamlCollectionHolder.cs
- ASCIIEncoding.cs
- CollectionTypeElement.cs
- SqlParameter.cs
- AppliesToBehaviorDecisionTable.cs
- DefaultProxySection.cs
- SqlError.cs
- templategroup.cs
- AddInIpcChannel.cs
- ModuleBuilder.cs
- AdornerHitTestResult.cs
- TrackingProfileCache.cs
- DropTarget.cs
- altserialization.cs
- Pen.cs
- DataObjectAttribute.cs
- SymbolType.cs
- isolationinterop.cs
- WindowPattern.cs
- SiteMapSection.cs
- KeyValueInternalCollection.cs
- SiteMap.cs
- StyleSheetComponentEditor.cs
- HMAC.cs
- BindValidationContext.cs
- ConfigXmlCDataSection.cs
- TcpChannelListener.cs
- DataGridViewRowsRemovedEventArgs.cs
- ExpressionEditorAttribute.cs
- HandleCollector.cs
- FileDialogCustomPlace.cs
- MethodAccessException.cs
- Win32.cs
- MultilineStringConverter.cs
- SamlAssertionKeyIdentifierClause.cs
- Matrix3DValueSerializer.cs
- DBCSCodePageEncoding.cs
- Selection.cs
- VisualBrush.cs
- Vector3DIndependentAnimationStorage.cs
- SoapEnumAttribute.cs
- WebHeaderCollection.cs
- ModulesEntry.cs
- ButtonColumn.cs
- SpecularMaterial.cs
- DirectoryNotFoundException.cs
- ConsoleTraceListener.cs
- CommandHelpers.cs
- ModifierKeysValueSerializer.cs
- CryptoHandle.cs
- StoragePropertyMapping.cs
- CodeDomLoader.cs
- COM2PropertyBuilderUITypeEditor.cs
- SiteMapPath.cs
- ColumnCollectionEditor.cs
- FreezableCollection.cs
- PathSegment.cs
- ContextCorrelationInitializer.cs
- CultureSpecificCharacterBufferRange.cs
- SoapExtension.cs
- DefaultPrintController.cs
- AssociationTypeEmitter.cs
- IERequestCache.cs
- AtomMaterializerLog.cs
- ClientSettingsStore.cs
- COAUTHINFO.cs
- MulticastOption.cs
- StrongNameHelpers.cs
- ExtensibleClassFactory.cs
- ShapingWorkspace.cs
- BamlLocalizationDictionary.cs
- ResourceReferenceExpression.cs
- DataBindingExpressionBuilder.cs
- ExtensionMethods.cs
- ReliabilityContractAttribute.cs
- ContentFileHelper.cs
- CalendarDay.cs
- StringArrayConverter.cs
- HttpProfileBase.cs
- PerformanceCountersElement.cs
- ImmutablePropertyDescriptorGridEntry.cs
- DocumentPaginator.cs
- UnknownBitmapDecoder.cs
- XmlSchemaObjectTable.cs
- TrackingServices.cs
- WrapPanel.cs
- CaseStatement.cs