Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeParameter.cs / 1305376 / CodeTypeParameter.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- 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.[....] // Copyright (c) Microsoft Corporation. All rights reserved. //
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectListCommand.cs
- StringArrayConverter.cs
- UdpAnnouncementEndpoint.cs
- SqlCachedBuffer.cs
- ComponentResourceKey.cs
- MimeWriter.cs
- JumpTask.cs
- ColumnHeader.cs
- DecoderBestFitFallback.cs
- DropShadowBitmapEffect.cs
- BuildProviderCollection.cs
- HttpWriter.cs
- TreeIterator.cs
- ApplicationProxyInternal.cs
- SoapElementAttribute.cs
- PopOutPanel.cs
- UidManager.cs
- ErrorHandler.cs
- BaseValidator.cs
- ConfigXmlText.cs
- NeutralResourcesLanguageAttribute.cs
- LinkClickEvent.cs
- HostExecutionContextManager.cs
- ParseChildrenAsPropertiesAttribute.cs
- TextParagraphCache.cs
- Mappings.cs
- ForwardPositionQuery.cs
- WindowsScrollBar.cs
- Logging.cs
- RandomNumberGenerator.cs
- HttpCachePolicyBase.cs
- LoadRetryHandler.cs
- Wizard.cs
- ToolbarAUtomationPeer.cs
- SystemDiagnosticsSection.cs
- MaterialCollection.cs
- SystemTcpStatistics.cs
- TypeResolvingOptionsAttribute.cs
- Cursor.cs
- backend.cs
- NavigationPropertyEmitter.cs
- QueryExpression.cs
- HopperCache.cs
- PageBuildProvider.cs
- ObjectStateManager.cs
- ReaderContextStackData.cs
- MessagePartSpecification.cs
- ArrangedElement.cs
- BinaryMethodMessage.cs
- AssemblyBuilder.cs
- PeerHopCountAttribute.cs
- ComponentCollection.cs
- DataGridViewCellFormattingEventArgs.cs
- FunctionGenerator.cs
- XmlQueryTypeFactory.cs
- SqlGenerator.cs
- NameValueCollection.cs
- MouseActionConverter.cs
- ImmComposition.cs
- CommonObjectSecurity.cs
- ScopelessEnumAttribute.cs
- PrincipalPermission.cs
- safePerfProviderHandle.cs
- EntityType.cs
- TraceContextRecord.cs
- CodeCompiler.cs
- OLEDB_Util.cs
- OverlappedAsyncResult.cs
- OrderedHashRepartitionEnumerator.cs
- DataGridRowsPresenter.cs
- SafeBitVector32.cs
- UIntPtr.cs
- EventMap.cs
- ConfigurationException.cs
- TagNameToTypeMapper.cs
- PtsHost.cs
- SystemKeyConverter.cs
- SqlDataAdapter.cs
- EncryptedPackage.cs
- XsltSettings.cs
- ConfigurationValidatorBase.cs
- ThreadAttributes.cs
- SoapMessage.cs
- Composition.cs
- TreeViewTemplateSelector.cs
- CodeRegionDirective.cs
- HttpCacheParams.cs
- TextChange.cs
- NamedObjectList.cs
- AttachmentService.cs
- WebHeaderCollection.cs
- WebPartDisplayModeCancelEventArgs.cs
- FixedDocumentPaginator.cs
- AuthenticationModuleElement.cs
- DescendantOverDescendantQuery.cs
- BindingListCollectionView.cs
- StrongNameMembershipCondition.cs
- SqlInternalConnection.cs
- UnsettableComboBox.cs
- UnicodeEncoding.cs