Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeParameter.cs / 1305376 / CodeTypeParameter.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Reflection; using System.Runtime.InteropServices; [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeTypeParameter : CodeObject { private string name; private CodeAttributeDeclarationCollection customAttributes; private CodeTypeReferenceCollection constraints; private bool hasConstructorConstraint; public CodeTypeParameter() { } public CodeTypeParameter(string name) { this.name = name; } public string Name { get { return (name == null) ? string.Empty : name; } set { name = value; } } public CodeTypeReferenceCollection Constraints { get { if (constraints == null) { constraints = new CodeTypeReferenceCollection(); } return constraints; } } public CodeAttributeDeclarationCollection CustomAttributes { get { if (customAttributes == null) { customAttributes = new CodeAttributeDeclarationCollection(); } return customAttributes; } } public bool HasConstructorConstraint { get { return hasConstructorConstraint; } set { hasConstructorConstraint = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[....] // Copyright (c) Microsoft Corporation. All rights reserved. //
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlConnectionFactory.cs
- PropertyKey.cs
- ReadOnlyHierarchicalDataSourceView.cs
- AQNBuilder.cs
- FocusWithinProperty.cs
- ResourceWriter.cs
- ResolveMatchesApril2005.cs
- MailAddressCollection.cs
- DynamicArgumentDesigner.xaml.cs
- PagesSection.cs
- ToolboxItemFilterAttribute.cs
- DataGrid.cs
- ToolboxItemFilterAttribute.cs
- TypeNameParser.cs
- CompilerGlobalScopeAttribute.cs
- Label.cs
- ContractListAdapter.cs
- DataGridViewRowEventArgs.cs
- SmiSettersStream.cs
- WsdlInspector.cs
- StructuredTypeEmitter.cs
- CompiledRegexRunner.cs
- AdCreatedEventArgs.cs
- ValueType.cs
- FtpCachePolicyElement.cs
- ExceptionUtil.cs
- XmlWellformedWriterHelpers.cs
- SqlTypeSystemProvider.cs
- MsmqTransportElement.cs
- Int64AnimationBase.cs
- XmlSchemaComplexType.cs
- SchemaMerger.cs
- SecurityHeaderLayout.cs
- Win32SafeHandles.cs
- PanelContainerDesigner.cs
- X509Extension.cs
- DataTableMapping.cs
- HitTestWithPointDrawingContextWalker.cs
- LayoutEvent.cs
- MatchingStyle.cs
- SiteMap.cs
- GraphicsPathIterator.cs
- AmbientProperties.cs
- DBCSCodePageEncoding.cs
- CodeTypeDelegate.cs
- ComboBoxRenderer.cs
- PartialCachingControl.cs
- BitConverter.cs
- DBSchemaRow.cs
- _LocalDataStoreMgr.cs
- TimeoutException.cs
- AssemblyAssociatedContentFileAttribute.cs
- DetailsViewUpdateEventArgs.cs
- XmlStringTable.cs
- InvokeGenerator.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- BaseTemplateBuildProvider.cs
- PolyLineSegment.cs
- CursorConverter.cs
- KeyGesture.cs
- MimeMapping.cs
- TriggerAction.cs
- GeneratedView.cs
- EncodingStreamWrapper.cs
- DataBinder.cs
- DelegateSerializationHolder.cs
- FilterRepeater.cs
- XPathNavigator.cs
- VirtualPathProvider.cs
- LinqDataSource.cs
- RegexCharClass.cs
- ListViewCommandEventArgs.cs
- VirtualizingPanel.cs
- Vertex.cs
- SHA384.cs
- ObjectReaderCompiler.cs
- RadialGradientBrush.cs
- ComponentRenameEvent.cs
- ListViewHitTestInfo.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- AssemblySettingAttributes.cs
- NativeMethods.cs
- WebHttpSecurityElement.cs
- TextWriterTraceListener.cs
- SafeNativeMethods.cs
- ModifierKeysConverter.cs
- CompressionTransform.cs
- XamlTreeBuilder.cs
- SqlConnectionFactory.cs
- Socket.cs
- DataGridTextBox.cs
- OleDbSchemaGuid.cs
- BooleanStorage.cs
- ExcCanonicalXml.cs
- PartialCachingAttribute.cs
- PeerContact.cs
- TextBlock.cs
- CallSite.cs
- GlyphManager.cs
- ControlParameter.cs