Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeParameter.cs / 1 / CodeTypeParameter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- 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; } } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridCommandEventArgs.cs
- XmlDataProvider.cs
- InputScope.cs
- CallTemplateAction.cs
- ExpressionNode.cs
- UIAgentInitializationException.cs
- ArrayConverter.cs
- PropertyCollection.cs
- AnnotationHighlightLayer.cs
- RadialGradientBrush.cs
- FtpWebRequest.cs
- CodeTypeDeclarationCollection.cs
- Receive.cs
- SoapBinding.cs
- AddInActivator.cs
- DocumentSchemaValidator.cs
- CacheHelper.cs
- WebPartConnectionsConnectVerb.cs
- Convert.cs
- TextCollapsingProperties.cs
- WindowsListViewGroupHelper.cs
- HostUtils.cs
- SecurityPermission.cs
- AutomationPropertyInfo.cs
- CustomAttribute.cs
- ListViewPagedDataSource.cs
- RefreshEventArgs.cs
- SystemUnicastIPAddressInformation.cs
- Logging.cs
- LookupNode.cs
- HostingEnvironmentSection.cs
- XmlSchemaRedefine.cs
- XmlNodeComparer.cs
- ConfigurationConverterBase.cs
- ApplicationFileParser.cs
- RuleDefinitions.cs
- StylusPointPropertyUnit.cs
- BindingExpressionBase.cs
- AssemblyCache.cs
- XmlnsPrefixAttribute.cs
- DataReaderContainer.cs
- PDBReader.cs
- BitVec.cs
- BasicCellRelation.cs
- DataSourceControlBuilder.cs
- DesignerCategoryAttribute.cs
- GridViewEditEventArgs.cs
- TrackBar.cs
- SessionStateUtil.cs
- WebPartEditVerb.cs
- IncrementalCompileAnalyzer.cs
- PrintingPermission.cs
- DrawingAttributeSerializer.cs
- PasswordTextContainer.cs
- WindowsFormsHostPropertyMap.cs
- SelectedGridItemChangedEvent.cs
- Brush.cs
- NonParentingControl.cs
- TypeInformation.cs
- QualifiedCellIdBoolean.cs
- DataGridTable.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SqlDataSourceConfigureFilterForm.cs
- Int32Storage.cs
- XmlDataProvider.cs
- WebAdminConfigurationHelper.cs
- RenderDataDrawingContext.cs
- basemetadatamappingvisitor.cs
- RequestResizeEvent.cs
- ExpandCollapsePattern.cs
- ContextDataSource.cs
- XmlElementAttribute.cs
- SoapCodeExporter.cs
- WebPartConnectionsDisconnectVerb.cs
- DataTableReaderListener.cs
- SpanIndex.cs
- ActivityExecutorOperation.cs
- PropertyTabChangedEvent.cs
- CookieProtection.cs
- BitmapEffect.cs
- User.cs
- oledbmetadatacollectionnames.cs
- WindowsImpersonationContext.cs
- InheritanceContextHelper.cs
- MappingItemCollection.cs
- TypedDatasetGenerator.cs
- SmiSettersStream.cs
- UnsafePeerToPeerMethods.cs
- RsaElement.cs
- SecurityCriticalDataForSet.cs
- COM2EnumConverter.cs
- HttpProfileBase.cs
- sqlcontext.cs
- ResourceWriter.cs
- _ShellExpression.cs
- MonthCalendar.cs
- CngProperty.cs
- SqlRewriteScalarSubqueries.cs
- XmlTextAttribute.cs
- ResourcesGenerator.cs