Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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; } } } } // 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PersonalizableAttribute.cs
- Margins.cs
- PaginationProgressEventArgs.cs
- ImmComposition.cs
- FlowchartDesigner.xaml.cs
- HandleExceptionArgs.cs
- CursorConverter.cs
- StateValidator.cs
- ComponentCollection.cs
- SystemIcmpV6Statistics.cs
- ActivityContext.cs
- UIInitializationException.cs
- WrappedOptions.cs
- AndCondition.cs
- AttributedMetaModel.cs
- CachedRequestParams.cs
- SqlConnectionPoolProviderInfo.cs
- WindowsTooltip.cs
- BoolExpression.cs
- TableHeaderCell.cs
- DynamicValueConverter.cs
- GridViewHeaderRowPresenter.cs
- AnnotationElement.cs
- SHA384Managed.cs
- WebBrowserContainer.cs
- TransformGroup.cs
- SqlConnectionString.cs
- PackWebRequest.cs
- ResolveNameEventArgs.cs
- IPGlobalProperties.cs
- DocumentApplicationJournalEntryEventArgs.cs
- Path.cs
- WebServicesInteroperability.cs
- LinqToSqlWrapper.cs
- ReliabilityContractAttribute.cs
- AllMembershipCondition.cs
- WebPartUserCapability.cs
- TextOptionsInternal.cs
- ValueTypeFixupInfo.cs
- WebPartRestoreVerb.cs
- IConvertible.cs
- AuthorizationContext.cs
- SqlBuffer.cs
- MemberRestriction.cs
- OpenTypeLayoutCache.cs
- XPathSelfQuery.cs
- BitmapEffectGeneralTransform.cs
- AliasGenerator.cs
- BlurBitmapEffect.cs
- CodeObject.cs
- SafeCertificateStore.cs
- InstalledVoice.cs
- PtsPage.cs
- ConfigurationException.cs
- DataGridAddNewRow.cs
- DocumentViewerBaseAutomationPeer.cs
- AlternationConverter.cs
- ActivatableWorkflowsQueryResult.cs
- AttachedProperty.cs
- ProvidersHelper.cs
- KnownTypesHelper.cs
- SelectionRangeConverter.cs
- ReadOnlyDataSource.cs
- XmlSchemaElement.cs
- PartManifestEntry.cs
- GeometryModel3D.cs
- DeviceContexts.cs
- SoapFault.cs
- GradientBrush.cs
- SqlInternalConnectionSmi.cs
- ButtonBaseAutomationPeer.cs
- BindingBase.cs
- FontFamilyIdentifier.cs
- Attribute.cs
- PropertyChange.cs
- filewebrequest.cs
- SpoolingTaskBase.cs
- TargetException.cs
- CounterSample.cs
- BrushConverter.cs
- IncomingWebResponseContext.cs
- ProfileProvider.cs
- XmlMapping.cs
- AdornerDecorator.cs
- GCHandleCookieTable.cs
- JsonWriterDelegator.cs
- TileModeValidation.cs
- GPRECTF.cs
- DashStyles.cs
- Visual3D.cs
- NegatedCellConstant.cs
- ValidateNames.cs
- PropertyTabAttribute.cs
- MediaCommands.cs
- SweepDirectionValidation.cs
- TemplateContainer.cs
- EncodingNLS.cs
- DataGridViewRowConverter.cs
- ProfilePropertySettingsCollection.cs
- GeneralTransform3DTo2D.cs