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
- GreenMethods.cs
- HttpContext.cs
- StringWriter.cs
- WindowsToolbarItemAsMenuItem.cs
- SqlClientWrapperSmiStreamChars.cs
- InvalidCastException.cs
- _CookieModule.cs
- TypeToStringValueConverter.cs
- CloudCollection.cs
- AccessDataSourceView.cs
- TableAdapterManagerHelper.cs
- DrawingAttributeSerializer.cs
- WebServiceAttribute.cs
- HttpPostedFileBase.cs
- PropertyEntry.cs
- MemberNameValidator.cs
- QuaternionKeyFrameCollection.cs
- HtmlElement.cs
- ProtocolsConfigurationEntry.cs
- TagMapCollection.cs
- ProxyWebPartManager.cs
- HwndSourceParameters.cs
- WindowsToolbarAsMenu.cs
- PasswordPropertyTextAttribute.cs
- ProfileModule.cs
- RsaElement.cs
- Pair.cs
- DSASignatureDeformatter.cs
- PromptEventArgs.cs
- EntityContainerEmitter.cs
- CornerRadiusConverter.cs
- WebHostUnsafeNativeMethods.cs
- PathSegmentCollection.cs
- AppModelKnownContentFactory.cs
- BuildManagerHost.cs
- PerformanceCounter.cs
- SafeSecurityHandles.cs
- ListViewDeletedEventArgs.cs
- Environment.cs
- EventMetadata.cs
- DataGridViewAdvancedBorderStyle.cs
- StringValueConverter.cs
- UIElementPropertyUndoUnit.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- GridSplitterAutomationPeer.cs
- DbProviderFactories.cs
- PropertyInformation.cs
- OLEDB_Util.cs
- NavigatorInput.cs
- StringSource.cs
- Matrix.cs
- ProvidePropertyAttribute.cs
- UnaryQueryOperator.cs
- selecteditemcollection.cs
- XmlSchemaExporter.cs
- PersistenceException.cs
- Publisher.cs
- ProtocolsConfiguration.cs
- CharEntityEncoderFallback.cs
- BinaryFormatter.cs
- OleCmdHelper.cs
- ConfigurationManagerInternalFactory.cs
- CommentEmitter.cs
- OrthographicCamera.cs
- GenerateTemporaryTargetAssembly.cs
- PersonalizationProviderHelper.cs
- ControlIdConverter.cs
- FormViewRow.cs
- EdgeModeValidation.cs
- DiagnosticTrace.cs
- WebHostedComPlusServiceHost.cs
- XsdSchemaFileEditor.cs
- EdmProviderManifest.cs
- Geometry.cs
- _LoggingObject.cs
- C14NUtil.cs
- MetadataItemCollectionFactory.cs
- ClientScriptItemCollection.cs
- PreProcessInputEventArgs.cs
- MetafileHeaderEmf.cs
- HttpServerChannel.cs
- ConnectionManagementSection.cs
- SQLInt32.cs
- ReaderOutput.cs
- RepeatBehaviorConverter.cs
- _DigestClient.cs
- DisplayNameAttribute.cs
- TemplateKey.cs
- MouseWheelEventArgs.cs
- SQlBooleanStorage.cs
- StylusPointProperties.cs
- FillBehavior.cs
- DashStyle.cs
- MatrixAnimationUsingPath.cs
- MulticastOption.cs
- Select.cs
- IImplicitResourceProvider.cs
- SqlErrorCollection.cs
- TransformerConfigurationWizardBase.cs
- x509store.cs