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
- FixedTextSelectionProcessor.cs
- UrlParameterWriter.cs
- StrokeRenderer.cs
- HttpResponseInternalBase.cs
- MutableAssemblyCacheEntry.cs
- CustomErrorsSection.cs
- Scripts.cs
- QueueAccessMode.cs
- BamlStream.cs
- ReachDocumentReferenceCollectionSerializer.cs
- CorrelationToken.cs
- ArraySet.cs
- CopyNodeSetAction.cs
- TextRunProperties.cs
- MinimizableAttributeTypeConverter.cs
- validationstate.cs
- ListContractAdapter.cs
- WebException.cs
- StorageEntityContainerMapping.cs
- ReadOnlyPropertyMetadata.cs
- FilteredXmlReader.cs
- ScrollChrome.cs
- Menu.cs
- EntryWrittenEventArgs.cs
- WebPartHelpVerb.cs
- CacheForPrimitiveTypes.cs
- LocatorPartList.cs
- TreeNode.cs
- WindowsGraphics2.cs
- TdsParserHelperClasses.cs
- DriveNotFoundException.cs
- DataGridCell.cs
- ExtendedPropertyDescriptor.cs
- Visitors.cs
- ControllableStoryboardAction.cs
- CqlLexer.cs
- Brush.cs
- StringDictionary.cs
- MenuItemStyleCollection.cs
- ClientBuildManager.cs
- BitmapEffectInputConnector.cs
- MultiPageTextView.cs
- FormatConvertedBitmap.cs
- TablePattern.cs
- CqlWriter.cs
- HtmlUtf8RawTextWriter.cs
- GridSplitterAutomationPeer.cs
- BitmapImage.cs
- CacheModeConverter.cs
- XmlAttributeProperties.cs
- UnsafeNativeMethods.cs
- Effect.cs
- Encoder.cs
- DataReaderContainer.cs
- Grid.cs
- MDIWindowDialog.cs
- PackageDigitalSignatureManager.cs
- XsdDuration.cs
- EmptyControlCollection.cs
- ResourceCollectionInfo.cs
- StrongName.cs
- FacetValueContainer.cs
- FormViewModeEventArgs.cs
- DataRecord.cs
- TagMapInfo.cs
- IdnElement.cs
- ArraySegment.cs
- XmlSchemaImporter.cs
- EmptyElement.cs
- CheckBoxStandardAdapter.cs
- AppDomainUnloadedException.cs
- CompModSwitches.cs
- EditingContext.cs
- ComponentResourceManager.cs
- Request.cs
- AuthStoreRoleProvider.cs
- Signature.cs
- CustomValidator.cs
- LocatorPartList.cs
- Vector3D.cs
- ConfigurationStrings.cs
- WindowsFormsHostAutomationPeer.cs
- BaseDataBoundControl.cs
- DataServiceSaveChangesEventArgs.cs
- ServerValidateEventArgs.cs
- Hex.cs
- ScrollProperties.cs
- FormViewDeletedEventArgs.cs
- _AuthenticationState.cs
- PrivilegeNotHeldException.cs
- XmlArrayItemAttribute.cs
- AuthenticationException.cs
- MatrixAnimationUsingPath.cs
- DetailsViewInsertEventArgs.cs
- DataContractSerializerSection.cs
- IdentifierService.cs
- SymmetricSecurityProtocol.cs
- CompiledIdentityConstraint.cs
- ThrowHelper.cs
- Rectangle.cs