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
- DesignerActionItemCollection.cs
- WebBrowser.cs
- HttpBufferlessInputStream.cs
- ProcessModelInfo.cs
- NotConverter.cs
- DataObjectMethodAttribute.cs
- ToolStripDropDownClosedEventArgs.cs
- SpeakProgressEventArgs.cs
- DbParameterCollectionHelper.cs
- SequentialActivityDesigner.cs
- SqlAliaser.cs
- ItemCheckedEvent.cs
- CAGDesigner.cs
- EntityClientCacheEntry.cs
- RC2.cs
- ObjectParameter.cs
- TrackingCondition.cs
- UmAlQuraCalendar.cs
- FixedFlowMap.cs
- UIElement3D.cs
- CollectionView.cs
- UrlAuthFailedErrorFormatter.cs
- PhoneCall.cs
- QueryCacheManager.cs
- StorageTypeMapping.cs
- FileDialog.cs
- ObjectKeyFrameCollection.cs
- MenuItemStyle.cs
- ReadOnlyTernaryTree.cs
- TextRangeEdit.cs
- DisplayInformation.cs
- ParallelTimeline.cs
- DeliveryStrategy.cs
- SafeThreadHandle.cs
- GridView.cs
- SqlTypesSchemaImporter.cs
- MediaPlayer.cs
- HttpSessionStateBase.cs
- ChangePassword.cs
- StructuralCache.cs
- ByteStack.cs
- MailBnfHelper.cs
- XmlLanguageConverter.cs
- RegexNode.cs
- BitmapCache.cs
- WebRequestModuleElement.cs
- IntegerFacetDescriptionElement.cs
- HwndHostAutomationPeer.cs
- FlowDecisionLabelFeature.cs
- TemplatedWizardStep.cs
- BadImageFormatException.cs
- MulticastOption.cs
- RadioButtonList.cs
- SerializationSectionGroup.cs
- DataGridViewRowConverter.cs
- SelectedGridItemChangedEvent.cs
- DefaultIfEmptyQueryOperator.cs
- ScriptRegistrationManager.cs
- WorkflowExecutor.cs
- FixedSOMTable.cs
- TransformPattern.cs
- StateBag.cs
- DependencyObjectType.cs
- Timer.cs
- DropTarget.cs
- TableItemPattern.cs
- WebExceptionStatus.cs
- XmlDataSource.cs
- GeneralTransform.cs
- validationstate.cs
- ReferenceEqualityComparer.cs
- MediaContext.cs
- WsatAdminException.cs
- ContentElementCollection.cs
- DataGridViewRow.cs
- EventLogReader.cs
- ZipIOFileItemStream.cs
- RuntimeResourceSet.cs
- TransferRequestHandler.cs
- LockCookie.cs
- TabControlDesigner.cs
- Exceptions.cs
- MergeFilterQuery.cs
- SecurityRequiresReviewAttribute.cs
- MouseGestureValueSerializer.cs
- SymLanguageVendor.cs
- DataServiceQueryContinuation.cs
- ContractType.cs
- DashStyles.cs
- FixedTextSelectionProcessor.cs
- HtmlLink.cs
- BitmapEffectState.cs
- Pair.cs
- SqlDataSourceSummaryPanel.cs
- DoWorkEventArgs.cs
- LineServices.cs
- PointConverter.cs
- XmlSequenceWriter.cs
- ClientUtils.cs
- SpecialFolderEnumConverter.cs