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
- MoveSizeWinEventHandler.cs
- SystemIPInterfaceProperties.cs
- HttpApplicationFactory.cs
- RegisteredArrayDeclaration.cs
- ObjectDataSourceFilteringEventArgs.cs
- PickDesigner.xaml.cs
- DesignerHelpers.cs
- SerializationSectionGroup.cs
- TextSearch.cs
- MouseGesture.cs
- HtmlFormAdapter.cs
- FileResponseElement.cs
- WorkflowDefinitionDispenser.cs
- DynamicEntity.cs
- HtmlTableCell.cs
- WindowInteractionStateTracker.cs
- NetworkInterface.cs
- SHA1CryptoServiceProvider.cs
- XpsStructure.cs
- GlyphingCache.cs
- DataControlFieldHeaderCell.cs
- regiisutil.cs
- DPTypeDescriptorContext.cs
- DataGridTable.cs
- Win32.cs
- ProgressBarBrushConverter.cs
- ProjectionCamera.cs
- ReferentialConstraint.cs
- DbProviderFactories.cs
- PrePrepareMethodAttribute.cs
- DataSourceView.cs
- Clause.cs
- WebPartManager.cs
- StreamInfo.cs
- AssemblyAssociatedContentFileAttribute.cs
- SoapAttributeOverrides.cs
- WebPartConnectVerb.cs
- RelOps.cs
- SchemaImporterExtensionElement.cs
- UnionExpr.cs
- Win32Exception.cs
- RijndaelManaged.cs
- ObjectItemAttributeAssemblyLoader.cs
- DebugHandleTracker.cs
- ShaperBuffers.cs
- SizeIndependentAnimationStorage.cs
- DataKey.cs
- ArrayElementGridEntry.cs
- Icon.cs
- IISUnsafeMethods.cs
- BinHexDecoder.cs
- XamlToRtfWriter.cs
- XPathParser.cs
- HwndSourceKeyboardInputSite.cs
- DefaultObjectMappingItemCollection.cs
- CheckBoxField.cs
- CardSpacePolicyElement.cs
- IndicShape.cs
- CommandLibraryHelper.cs
- Tool.cs
- QilGeneratorEnv.cs
- ComponentEditorPage.cs
- assemblycache.cs
- Scripts.cs
- DrawingContextWalker.cs
- CodeMethodMap.cs
- OneOf.cs
- TableSectionStyle.cs
- DbConnectionClosed.cs
- Operator.cs
- UnionExpr.cs
- FolderBrowserDialogDesigner.cs
- TokenizerHelper.cs
- ScriptingScriptResourceHandlerSection.cs
- Repeater.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- GenerateTemporaryTargetAssembly.cs
- DateTimeFormatInfoScanner.cs
- QilStrConcatenator.cs
- NumberFunctions.cs
- ToolBar.cs
- KeyFrames.cs
- GCHandleCookieTable.cs
- MetadataArtifactLoaderCompositeResource.cs
- CodeIdentifier.cs
- HttpApplicationStateBase.cs
- WebConfigurationHostFileChange.cs
- _FtpDataStream.cs
- ThemeInfoAttribute.cs
- GeneralTransform3D.cs
- CqlBlock.cs
- FontSource.cs
- XmlWriterTraceListener.cs
- GradientStopCollection.cs
- VerticalAlignConverter.cs
- BaseValidator.cs
- CharConverter.cs
- PropertyPathWorker.cs
- Grammar.cs
- AttributeUsageAttribute.cs