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
- TextTreeFixupNode.cs
- BufferBuilder.cs
- TraceProvider.cs
- XMLSchema.cs
- LowerCaseStringConverter.cs
- BinaryExpression.cs
- OverrideMode.cs
- HierarchicalDataBoundControlAdapter.cs
- Validator.cs
- WebErrorHandler.cs
- HTTPNotFoundHandler.cs
- XMLUtil.cs
- PaintValueEventArgs.cs
- FirstMatchCodeGroup.cs
- DiscoveryReference.cs
- SQLBoolean.cs
- HwndHostAutomationPeer.cs
- SafeRegistryKey.cs
- SpeechRecognitionEngine.cs
- SqlParameterizer.cs
- XmlSchemaParticle.cs
- MediaPlayerState.cs
- HasCopySemanticsAttribute.cs
- AsyncResult.cs
- ValueType.cs
- DetailsViewDeletedEventArgs.cs
- XPathDocumentIterator.cs
- Axis.cs
- DispatcherEventArgs.cs
- UnmanagedMemoryAccessor.cs
- SiteMapDesignerDataSourceView.cs
- PackagePart.cs
- InstanceDescriptor.cs
- CursorInteropHelper.cs
- MatrixKeyFrameCollection.cs
- LayoutEditorPart.cs
- InArgument.cs
- XmlSchemaFacet.cs
- RegionInfo.cs
- FormsAuthenticationCredentials.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- PeerTransportListenAddressValidatorAttribute.cs
- StylusButtonEventArgs.cs
- GPStream.cs
- CryptoStream.cs
- AdornedElementPlaceholder.cs
- HelpKeywordAttribute.cs
- CodeVariableDeclarationStatement.cs
- ComponentCommands.cs
- SettingsProperty.cs
- Comparer.cs
- ProtectedConfiguration.cs
- CodeSnippetStatement.cs
- ToolStripDropDownButton.cs
- ExpressionParser.cs
- Timeline.cs
- PropertyFilter.cs
- SqlServices.cs
- ScriptingRoleServiceSection.cs
- InstallerTypeAttribute.cs
- ToolStripItemClickedEventArgs.cs
- DefaultAutoFieldGenerator.cs
- PackageProperties.cs
- DefaultPropertyAttribute.cs
- AttributeTable.cs
- Tag.cs
- Boolean.cs
- SessionState.cs
- DBCSCodePageEncoding.cs
- DllNotFoundException.cs
- HashCodeCombiner.cs
- Collection.cs
- CryptoProvider.cs
- IApplicationTrustManager.cs
- ParserOptions.cs
- SqlDataReader.cs
- PtsPage.cs
- CheckBox.cs
- WebServiceParameterData.cs
- MessageContractMemberAttribute.cs
- XXXInfos.cs
- XmlDocumentFragment.cs
- EntityContainerEntitySet.cs
- ParseHttpDate.cs
- ImageMapEventArgs.cs
- UnsafeNativeMethods.cs
- ImageMapEventArgs.cs
- LeafCellTreeNode.cs
- TriState.cs
- JsonSerializer.cs
- TypeBuilder.cs
- InvalidComObjectException.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- EntityDataSourceQueryBuilder.cs
- StructureChangedEventArgs.cs
- FamilyTypefaceCollection.cs
- ScrollViewer.cs
- SerialPinChanges.cs
- RtfToken.cs
- PassportIdentity.cs