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
- XmlNodeReader.cs
- TableItemProviderWrapper.cs
- DataGridViewComboBoxCell.cs
- Processor.cs
- QilTypeChecker.cs
- RowVisual.cs
- DataGridTableStyleMappingNameEditor.cs
- NativeMethods.cs
- SQLStringStorage.cs
- PickDesigner.xaml.cs
- DropShadowEffect.cs
- TextAutomationPeer.cs
- EntityConnectionStringBuilder.cs
- WrappedReader.cs
- NativeMethods.cs
- ResetableIterator.cs
- SqlIdentifier.cs
- FontStyleConverter.cs
- ImageKeyConverter.cs
- HtmlInputControl.cs
- DelegateBodyWriter.cs
- DiagnosticsElement.cs
- CalendarTable.cs
- HandleCollector.cs
- DBSqlParserTableCollection.cs
- BreakRecordTable.cs
- XmlMapping.cs
- DBAsyncResult.cs
- DBCSCodePageEncoding.cs
- X509Certificate2Collection.cs
- CFStream.cs
- VerificationException.cs
- RedirectionProxy.cs
- PolicyValidationException.cs
- RtfNavigator.cs
- HttpSocketManager.cs
- TreeNodeStyleCollection.cs
- StylusShape.cs
- BindingObserver.cs
- FixedSOMTableCell.cs
- CodeMemberField.cs
- RelatedImageListAttribute.cs
- ScriptManagerProxy.cs
- BookmarkUndoUnit.cs
- PkcsMisc.cs
- MultiView.cs
- ServiceReference.cs
- ManagedWndProcTracker.cs
- CompModSwitches.cs
- FragmentQueryKB.cs
- BufferBuilder.cs
- PermissionAttributes.cs
- AspNetRouteServiceHttpHandler.cs
- ipaddressinformationcollection.cs
- TextStore.cs
- ProcessHostServerConfig.cs
- Int16AnimationUsingKeyFrames.cs
- MetadataPropertyvalue.cs
- QueryMath.cs
- WaitHandleCannotBeOpenedException.cs
- TypeExtension.cs
- MsmqInputMessagePool.cs
- RegexWorker.cs
- GeometryCollection.cs
- ResourceCategoryAttribute.cs
- _CookieModule.cs
- StrokeNodeOperations.cs
- QueryResponse.cs
- DefaultHttpHandler.cs
- Renderer.cs
- Dictionary.cs
- DataSourceHelper.cs
- DrawToolTipEventArgs.cs
- RoleManagerEventArgs.cs
- RSACryptoServiceProvider.cs
- BaseDataBoundControl.cs
- Compiler.cs
- _UriTypeConverter.cs
- ResourceExpression.cs
- EntityTransaction.cs
- FormsIdentity.cs
- RegistryPermission.cs
- SamlAssertion.cs
- UserControlDocumentDesigner.cs
- LostFocusEventManager.cs
- Int32Rect.cs
- Size3DConverter.cs
- TextSchema.cs
- Soap12FormatExtensions.cs
- LabelLiteral.cs
- _DisconnectOverlappedAsyncResult.cs
- HttpRawResponse.cs
- WorkerRequest.cs
- propertyentry.cs
- InternalsVisibleToAttribute.cs
- DateTime.cs
- ImageInfo.cs
- GridEntryCollection.cs
- PlatformCulture.cs
- ChtmlLinkAdapter.cs