Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- AuthenticationService.cs
- _AcceptOverlappedAsyncResult.cs
- dataSvcMapFileLoader.cs
- FilteredAttributeCollection.cs
- InkCollectionBehavior.cs
- DeviceContexts.cs
- DataGridViewRowHeaderCell.cs
- XsltCompileContext.cs
- EventPropertyMap.cs
- BaseDataListPage.cs
- BaseValidator.cs
- PriorityQueue.cs
- NamespaceCollection.cs
- FilteredXmlReader.cs
- DispatcherFrame.cs
- ValidationHelper.cs
- XmlSerializer.cs
- WindowsUpDown.cs
- BigInt.cs
- SHA256.cs
- TailPinnedEventArgs.cs
- CategoryNameCollection.cs
- UnauthorizedWebPart.cs
- ContractMapping.cs
- XmlArrayItemAttributes.cs
- AspProxy.cs
- WebPartManager.cs
- DataGridParentRows.cs
- HwndSourceParameters.cs
- SimpleRecyclingCache.cs
- SqlMethodCallConverter.cs
- TextLineBreak.cs
- SplineQuaternionKeyFrame.cs
- OleDbConnection.cs
- ExportOptions.cs
- ColorTranslator.cs
- ComponentCodeDomSerializer.cs
- Animatable.cs
- Scene3D.cs
- XamlVector3DCollectionSerializer.cs
- EntityDataSourceState.cs
- SafeNativeMethods.cs
- GridViewRowCollection.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- EntityDataSourceValidationException.cs
- Icon.cs
- ProcessModule.cs
- Invariant.cs
- ZipIOCentralDirectoryBlock.cs
- WrapPanel.cs
- DataGridViewCellValidatingEventArgs.cs
- X509CertificateCollection.cs
- ValueChangedEventManager.cs
- SeparatorAutomationPeer.cs
- TrackingStringDictionary.cs
- BoundPropertyEntry.cs
- PrintEvent.cs
- CatalogZone.cs
- ChannelFactoryBase.cs
- PointHitTestResult.cs
- DataObject.cs
- Internal.cs
- RadioButtonFlatAdapter.cs
- ClientOperation.cs
- ListViewDeleteEventArgs.cs
- AQNBuilder.cs
- PeerCustomResolverSettings.cs
- GridViewRowPresenterBase.cs
- StateItem.cs
- AlignmentYValidation.cs
- _KerberosClient.cs
- ReferenceService.cs
- WorkflowServiceOperationListItem.cs
- CssTextWriter.cs
- ControlEvent.cs
- GenericAuthenticationEventArgs.cs
- StandardBindingCollectionElement.cs
- MediaElement.cs
- DefaultEvaluationContext.cs
- TimeSpanValidatorAttribute.cs
- DynamicValueConverter.cs
- GrammarBuilderDictation.cs
- SlipBehavior.cs
- ToolStripItemClickedEventArgs.cs
- BufferModesCollection.cs
- RemotingConfiguration.cs
- Symbol.cs
- SqlFlattener.cs
- DirectionalLight.cs
- QilFactory.cs
- HttpModuleCollection.cs
- RepeatInfo.cs
- ScriptControlDescriptor.cs
- X509UI.cs
- SHA256CryptoServiceProvider.cs
- SynchronizedInputHelper.cs
- RSAProtectedConfigurationProvider.cs
- ListViewGroupConverter.cs
- BaseCodeDomTreeGenerator.cs
- altserialization.cs