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
- CheckPair.cs
- ConfigurationStrings.cs
- TableColumnCollectionInternal.cs
- ActivityInstanceReference.cs
- SetStoryboardSpeedRatio.cs
- ExpiredSecurityTokenException.cs
- CatalogPartCollection.cs
- SingleKeyFrameCollection.cs
- MarginCollapsingState.cs
- DataGridRowHeaderAutomationPeer.cs
- Opcode.cs
- ArrayWithOffset.cs
- CommonGetThemePartSize.cs
- ModelVisual3D.cs
- ExpressionNode.cs
- ConnectionOrientedTransportManager.cs
- WindowsGrip.cs
- EntityTypeBase.cs
- LicenseException.cs
- CookielessHelper.cs
- SizeConverter.cs
- FunctionCommandText.cs
- SizeChangedEventArgs.cs
- HyperLinkColumn.cs
- WebHttpSecurityElement.cs
- FormsIdentity.cs
- ClientType.cs
- MenuItemBindingCollection.cs
- DbProviderSpecificTypePropertyAttribute.cs
- PlatformCulture.cs
- SqlConnection.cs
- HitTestFilterBehavior.cs
- WindowsIPAddress.cs
- EdmScalarPropertyAttribute.cs
- GenericRootAutomationPeer.cs
- ComponentCollection.cs
- SizeF.cs
- FileDialogPermission.cs
- X509CertificateRecipientClientCredential.cs
- ActiveXHost.cs
- XD.cs
- EndpointIdentity.cs
- SqlClientFactory.cs
- Psha1DerivedKeyGenerator.cs
- ConstNode.cs
- Events.cs
- ModuleBuilderData.cs
- CustomCredentialPolicy.cs
- LoadedOrUnloadedOperation.cs
- WindowsListViewItemStartMenu.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- CorrelationTokenTypeConvertor.cs
- DataRowView.cs
- ParallelTimeline.cs
- OSFeature.cs
- WebPartConnectionsCancelEventArgs.cs
- DiscriminatorMap.cs
- DirtyTextRange.cs
- Subtract.cs
- DependencyObjectType.cs
- ContextDataSourceContextData.cs
- WmlLabelAdapter.cs
- TcpStreams.cs
- LockingPersistenceProvider.cs
- SqlGenericUtil.cs
- CodeMethodInvokeExpression.cs
- ContractNamespaceAttribute.cs
- SrgsText.cs
- BeginEvent.cs
- InstanceDescriptor.cs
- TypedReference.cs
- InProcStateClientManager.cs
- XmlSchemaGroupRef.cs
- LicenseManager.cs
- DataRelation.cs
- XmlSchemaComplexType.cs
- XmlSchemaValidationException.cs
- ProxyWebPartManager.cs
- SystemIPAddressInformation.cs
- LZCodec.cs
- SolidBrush.cs
- DesignerToolStripControlHost.cs
- CommonProperties.cs
- BitmapEffectGroup.cs
- Variable.cs
- OpenFileDialog.cs
- ConstraintConverter.cs
- OpacityConverter.cs
- Rectangle.cs
- InputEventArgs.cs
- CompoundFileStreamReference.cs
- StrokeDescriptor.cs
- AVElementHelper.cs
- HtmlTableRowCollection.cs
- FormatConvertedBitmap.cs
- OneOf.cs
- SqlFunctionAttribute.cs
- srgsitem.cs
- SelectManyQueryOperator.cs
- CodeGenerator.cs