Code:
/ DotNET / DotNET / 8.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
- JoinSymbol.cs
- SupportsEventValidationAttribute.cs
- Setter.cs
- XmlCodeExporter.cs
- FrameworkContentElement.cs
- PermissionSetEnumerator.cs
- CqlErrorHelper.cs
- ProcessHostMapPath.cs
- SizeConverter.cs
- StubHelpers.cs
- CustomWebEventKey.cs
- BooleanConverter.cs
- MappingItemCollection.cs
- ContainerParagraph.cs
- TextEffectCollection.cs
- SoapServerMethod.cs
- ProfessionalColorTable.cs
- NullableLongAverageAggregationOperator.cs
- CloseCollectionAsyncResult.cs
- SchemaTableColumn.cs
- FontUnit.cs
- ObjectPropertyMapping.cs
- AppDomainAttributes.cs
- CellLabel.cs
- xmlsaver.cs
- CategoryState.cs
- Vector3D.cs
- CopyEncoder.cs
- HttpProfileGroupBase.cs
- Stack.cs
- RegexWorker.cs
- StylusPoint.cs
- DataGridState.cs
- WsdlInspector.cs
- SectionInformation.cs
- SubtreeProcessor.cs
- ProfessionalColors.cs
- Label.cs
- SystemIPv6InterfaceProperties.cs
- ProxyWebPartManagerDesigner.cs
- Point3DCollectionConverter.cs
- UpdateEventArgs.cs
- ContentControl.cs
- ExtentKey.cs
- DataGridItemAttachedStorage.cs
- DynamicMethod.cs
- ConfigXmlCDataSection.cs
- SqlReorderer.cs
- StyleCollection.cs
- ImageAttributes.cs
- TreeNode.cs
- VerticalAlignConverter.cs
- metrodevice.cs
- MemberDescriptor.cs
- MediaPlayer.cs
- TraceShell.cs
- Overlapped.cs
- OracleParameterBinding.cs
- TextCompositionManager.cs
- Wildcard.cs
- FrameworkContentElementAutomationPeer.cs
- ProcessHostConfigUtils.cs
- EditorPart.cs
- Deserializer.cs
- FormClosingEvent.cs
- TableHeaderCell.cs
- coordinatorfactory.cs
- Condition.cs
- ChoiceConverter.cs
- FileNotFoundException.cs
- IDReferencePropertyAttribute.cs
- RuntimeConfigurationRecord.cs
- DataGridViewCellStyleEditor.cs
- ApplicationContext.cs
- RsaSecurityTokenAuthenticator.cs
- HtmlTextArea.cs
- RequestCacheManager.cs
- ImplicitInputBrush.cs
- FileDialog_Vista.cs
- SystemIcmpV6Statistics.cs
- ParamArrayAttribute.cs
- AspNetHostingPermission.cs
- BamlLocalizableResourceKey.cs
- _NestedMultipleAsyncResult.cs
- DebugManager.cs
- WmlListAdapter.cs
- WebPartEventArgs.cs
- ParameterInfo.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- DynamicQueryableWrapper.cs
- SqlUDTStorage.cs
- Clipboard.cs
- LostFocusEventManager.cs
- ConfigXmlComment.cs
- FormViewDeletedEventArgs.cs
- Ppl.cs
- XmlReader.cs
- TransportationConfigurationTypeInstallComponent.cs
- HoistedLocals.cs
- AnnouncementEventArgs.cs