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
- Int16.cs
- PropertyManager.cs
- ProcessRequestAsyncResult.cs
- ValidationSummary.cs
- ServiceBehaviorElementCollection.cs
- XmlUrlResolver.cs
- HyperLinkColumn.cs
- HierarchicalDataTemplate.cs
- UdpSocket.cs
- NullRuntimeConfig.cs
- Validator.cs
- GreaterThan.cs
- XmlSchemaFacet.cs
- AssociationSet.cs
- ResizeGrip.cs
- HttpValueCollection.cs
- Environment.cs
- EntityDataSourceStatementEditorForm.cs
- InputBindingCollection.cs
- XhtmlCssHandler.cs
- GuidTagList.cs
- WebReferenceCollection.cs
- Mappings.cs
- SerialErrors.cs
- ListItemParagraph.cs
- UnmanagedHandle.cs
- SettingsSection.cs
- CodeSnippetTypeMember.cs
- LookupNode.cs
- DiscreteKeyFrames.cs
- CorruptStoreException.cs
- _NegoStream.cs
- DataGridViewHitTestInfo.cs
- MemoryMappedFileSecurity.cs
- KeyPullup.cs
- StreamUpgradeBindingElement.cs
- StringAttributeCollection.cs
- PreviewKeyDownEventArgs.cs
- SafeNativeMethods.cs
- WebPartZone.cs
- RadioButtonStandardAdapter.cs
- EncodingInfo.cs
- DataServiceQueryContinuation.cs
- InfiniteTimeSpanConverter.cs
- SoapSchemaExporter.cs
- DataExpression.cs
- PropertyConverter.cs
- DBConnectionString.cs
- DataGridViewCellLinkedList.cs
- Timeline.cs
- Hex.cs
- _NegoState.cs
- NativeMethods.cs
- MulticastIPAddressInformationCollection.cs
- NameValuePermission.cs
- DispatchChannelSink.cs
- GatewayDefinition.cs
- AdvancedBindingPropertyDescriptor.cs
- HierarchicalDataSourceControl.cs
- ResponseBodyWriter.cs
- PrintController.cs
- ColorKeyFrameCollection.cs
- BindingValueChangedEventArgs.cs
- TabPage.cs
- HtmlFormWrapper.cs
- InvalidContentTypeException.cs
- DynamicRenderer.cs
- CompositeTypefaceMetrics.cs
- OleDbCommandBuilder.cs
- RepeatBehaviorConverter.cs
- Pen.cs
- BulletedListDesigner.cs
- XmlSchemaAnnotated.cs
- ListViewInsertionMark.cs
- PageThemeBuildProvider.cs
- HybridDictionary.cs
- DataGridPagerStyle.cs
- AttributeSetAction.cs
- TreeNodeStyleCollection.cs
- OracleConnectionFactory.cs
- SchemaCompiler.cs
- GridViewRowEventArgs.cs
- PanelStyle.cs
- ExecutionEngineException.cs
- OpCellTreeNode.cs
- WhiteSpaceTrimStringConverter.cs
- ConfigXmlSignificantWhitespace.cs
- RelationshipFixer.cs
- DataGridViewTextBoxEditingControl.cs
- PathData.cs
- JsonFormatMapping.cs
- _TimerThread.cs
- TemplateFactory.cs
- ChineseLunisolarCalendar.cs
- TrackingAnnotationCollection.cs
- CodeDomExtensionMethods.cs
- ThreadPool.cs
- ListViewGroupConverter.cs
- QueueProcessor.cs
- Grid.cs