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
- OutputCacheSettings.cs
- XmlCharacterData.cs
- GZipStream.cs
- TdsParserSessionPool.cs
- SqlFactory.cs
- latinshape.cs
- TreeViewCancelEvent.cs
- SymbolTable.cs
- CallContext.cs
- Flattener.cs
- COM2TypeInfoProcessor.cs
- WorkflowDefinitionContext.cs
- InheritedPropertyChangedEventArgs.cs
- basenumberconverter.cs
- MultiPropertyDescriptorGridEntry.cs
- ListManagerBindingsCollection.cs
- Typeface.cs
- CommandHelper.cs
- Int64Storage.cs
- BackgroundFormatInfo.cs
- SimpleType.cs
- ResolveDuplexAsyncResult.cs
- CollectionContainer.cs
- SafeProcessHandle.cs
- TableItemStyle.cs
- TypeUsageBuilder.cs
- TypePropertyEditor.cs
- ToolStripItemRenderEventArgs.cs
- PropertyChangedEventArgs.cs
- ModulesEntry.cs
- ObjectStateManager.cs
- SqlConnectionPoolProviderInfo.cs
- DockProviderWrapper.cs
- PartialTrustVisibleAssembliesSection.cs
- ConnectionStringsExpressionBuilder.cs
- RsaSecurityKey.cs
- ErrorView.xaml.cs
- SubMenuStyle.cs
- WindowsSpinner.cs
- CaseDesigner.xaml.cs
- DnsPermission.cs
- SiteMapPathDesigner.cs
- AnnotationAuthorChangedEventArgs.cs
- InlineCollection.cs
- SamlAudienceRestrictionCondition.cs
- VersionConverter.cs
- EventLevel.cs
- ProxyElement.cs
- DataBoundControlDesigner.cs
- XsltException.cs
- ProviderConnectionPoint.cs
- Statements.cs
- BinHexEncoding.cs
- cryptoapiTransform.cs
- SerializationStore.cs
- Semaphore.cs
- InkCanvas.cs
- X509ServiceCertificateAuthenticationElement.cs
- RightsManagementEncryptionTransform.cs
- CursorEditor.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- IndependentlyAnimatedPropertyMetadata.cs
- ContextStaticAttribute.cs
- EditorZone.cs
- Point.cs
- InheritanceContextChangedEventManager.cs
- FloatUtil.cs
- CodeAttachEventStatement.cs
- CheckedListBox.cs
- CharEnumerator.cs
- DecoderExceptionFallback.cs
- InkCanvasFeedbackAdorner.cs
- OraclePermissionAttribute.cs
- BindUriHelper.cs
- CodeTypeMember.cs
- TemplateControlBuildProvider.cs
- SecurityUtils.cs
- QueuePathEditor.cs
- StreamGeometryContext.cs
- ListViewItemCollectionEditor.cs
- URLMembershipCondition.cs
- ScriptMethodAttribute.cs
- OracleLob.cs
- TypeLibConverter.cs
- GridViewSelectEventArgs.cs
- CheckBoxField.cs
- WebConfigurationHost.cs
- PropertyInfoSet.cs
- GuidConverter.cs
- MemoryRecordBuffer.cs
- BamlLocalizer.cs
- TransportBindingElement.cs
- BitmapMetadataBlob.cs
- Brush.cs
- MultiViewDesigner.cs
- SoapMessage.cs
- CodeArrayIndexerExpression.cs
- Visual3DCollection.cs
- ToolStripLabel.cs
- MappingException.cs