Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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; } } } } // 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
- querybuilder.cs
- RootProfilePropertySettingsCollection.cs
- ShowExpandedMultiValueConverter.cs
- ObjectListShowCommandsEventArgs.cs
- FactoryGenerator.cs
- DataGridRelationshipRow.cs
- XamlReader.cs
- TableCellCollection.cs
- _NegoStream.cs
- EditorBrowsableAttribute.cs
- RadioButton.cs
- FormatPage.cs
- PointCollection.cs
- ExpressionHelper.cs
- DockPanel.cs
- Deflater.cs
- ViewManager.cs
- ScriptControlDescriptor.cs
- COM2Enum.cs
- PropertyValueUIItem.cs
- SqlBulkCopyColumnMapping.cs
- XmlSchemaAttributeGroup.cs
- CodeSubDirectory.cs
- BinHexEncoder.cs
- MainMenu.cs
- EntityTypeEmitter.cs
- PropertyMap.cs
- DragDrop.cs
- ListItemsCollectionEditor.cs
- ResourceReferenceExpressionConverter.cs
- VariableQuery.cs
- TransactionChannelListener.cs
- XmlILCommand.cs
- CompiledRegexRunnerFactory.cs
- ConfigXmlReader.cs
- CodePrimitiveExpression.cs
- DeleteMemberBinder.cs
- RangeBaseAutomationPeer.cs
- DrawingGroupDrawingContext.cs
- HGlobalSafeHandle.cs
- LogWriteRestartAreaState.cs
- XmlMembersMapping.cs
- TableLayoutRowStyleCollection.cs
- HttpCacheParams.cs
- InnerItemCollectionView.cs
- XmlHierarchyData.cs
- EastAsianLunisolarCalendar.cs
- XPathDocumentBuilder.cs
- HTTPNotFoundHandler.cs
- XPathNode.cs
- DoubleAnimationUsingPath.cs
- BaseHashHelper.cs
- TextCompositionEventArgs.cs
- UpdateTranslator.cs
- XPathDocument.cs
- SecurityUniqueId.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- KeyPressEvent.cs
- XmlSecureResolver.cs
- StatusStrip.cs
- _AcceptOverlappedAsyncResult.cs
- BufferedGraphicsContext.cs
- ConstraintEnumerator.cs
- ExpressionValueEditor.cs
- LambdaCompiler.cs
- ResizeBehavior.cs
- AggregatePushdown.cs
- SiteMembershipCondition.cs
- SqlUdtInfo.cs
- ToolStripSettings.cs
- LogRestartAreaEnumerator.cs
- PasswordDeriveBytes.cs
- EntryIndex.cs
- TextTreeText.cs
- ImageDrawing.cs
- ObjectNavigationPropertyMapping.cs
- UserNameSecurityToken.cs
- WebRequestModuleElement.cs
- sortedlist.cs
- XPathAncestorIterator.cs
- ResourceCodeDomSerializer.cs
- FixedSOMGroup.cs
- ellipse.cs
- MethodAccessException.cs
- CodeSnippetTypeMember.cs
- SchemaImporterExtension.cs
- Model3DCollection.cs
- Propagator.ExtentPlaceholderCreator.cs
- AssertSection.cs
- ComponentSerializationService.cs
- CodeRegionDirective.cs
- ObjectKeyFrameCollection.cs
- StrongNameUtility.cs
- EntityRecordInfo.cs
- StructuredTypeEmitter.cs
- WebPartDisplayModeCollection.cs
- Knowncolors.cs
- MissingManifestResourceException.cs
- GridViewAutomationPeer.cs
- InstalledFontCollection.cs