Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ComponentGuaranteesAttribute.cs
- XmlEncoding.cs
- XPathException.cs
- AssemblySettingAttributes.cs
- Int32Storage.cs
- BitmapCache.cs
- HybridDictionary.cs
- SafePEFileHandle.cs
- ImpersonateTokenRef.cs
- MetadataItem.cs
- HttpHandlerAction.cs
- EdmProperty.cs
- mansign.cs
- OrderedHashRepartitionStream.cs
- AcceleratedTokenProviderState.cs
- DataBindingCollectionConverter.cs
- ExtentKey.cs
- ProcessInputEventArgs.cs
- DataServiceProcessingPipeline.cs
- TableLayout.cs
- MarshalByValueComponent.cs
- XmlDataImplementation.cs
- TemplatedMailWebEventProvider.cs
- XsdCachingReader.cs
- ArgIterator.cs
- TrustLevelCollection.cs
- MessageSecurityException.cs
- CompleteWizardStep.cs
- CustomCredentialPolicy.cs
- ServiceOperationListItem.cs
- FontDialog.cs
- ImmComposition.cs
- controlskin.cs
- DataGridViewRowPostPaintEventArgs.cs
- ImageListStreamer.cs
- MultiViewDesigner.cs
- ListGeneralPage.cs
- InheritedPropertyChangedEventArgs.cs
- DecoderNLS.cs
- PageStatePersister.cs
- httpstaticobjectscollection.cs
- FileSystemEventArgs.cs
- SlotInfo.cs
- ArrangedElementCollection.cs
- SR.cs
- StringTraceRecord.cs
- FixedDSBuilder.cs
- VirtualizedItemProviderWrapper.cs
- SrgsRuleRef.cs
- ImageField.cs
- MessageUtil.cs
- ManualResetEvent.cs
- NameTable.cs
- UserControlCodeDomTreeGenerator.cs
- IIS7UserPrincipal.cs
- TextStore.cs
- DateTimeFormatInfoScanner.cs
- VisualStyleInformation.cs
- ThrowOnMultipleAssignment.cs
- Column.cs
- CrossSiteScriptingValidation.cs
- LicenseContext.cs
- IndexedGlyphRun.cs
- ToolZone.cs
- MemoryMappedView.cs
- GridViewRowEventArgs.cs
- ToolBarPanel.cs
- Win32KeyboardDevice.cs
- SessionPageStateSection.cs
- OutputScopeManager.cs
- GridLengthConverter.cs
- ReadContentAsBinaryHelper.cs
- DSGeneratorProblem.cs
- ParserStreamGeometryContext.cs
- ChannelServices.cs
- XmlElementList.cs
- InlinedAggregationOperatorEnumerator.cs
- DataGridViewRowPostPaintEventArgs.cs
- FloatUtil.cs
- FormatVersion.cs
- Rect.cs
- SystemFonts.cs
- XmlILCommand.cs
- KeyEventArgs.cs
- DataGrid.cs
- ActivityCodeGenerator.cs
- PropertyEmitter.cs
- CheckBoxStandardAdapter.cs
- PlaceHolder.cs
- SafeNativeMethods.cs
- XmlWrappingWriter.cs
- FastPropertyAccessor.cs
- Vector3DCollectionValueSerializer.cs
- NonParentingControl.cs
- SafeIUnknown.cs
- HttpListenerContext.cs
- RoleService.cs
- UIAgentRequest.cs
- ScriptReferenceEventArgs.cs
- PersistenceProviderDirectory.cs