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
- SizeIndependentAnimationStorage.cs
- BaseTemplateParser.cs
- BaseTemplateBuildProvider.cs
- Debug.cs
- SmtpFailedRecipientsException.cs
- XPathNode.cs
- SessionParameter.cs
- TagNameToTypeMapper.cs
- SqlProvider.cs
- XmlTextWriter.cs
- HtmlHistory.cs
- DataRecord.cs
- DataGridBoolColumn.cs
- SafeLibraryHandle.cs
- ScrollPattern.cs
- AdRotator.cs
- PageVisual.cs
- UIElementCollection.cs
- ConstraintStruct.cs
- SortFieldComparer.cs
- WebRequestModuleElementCollection.cs
- GroupStyle.cs
- Line.cs
- TreeBuilder.cs
- ACE.cs
- FunctionImportElement.cs
- WorkflowTransactionOptions.cs
- MediaScriptCommandRoutedEventArgs.cs
- SQLBinaryStorage.cs
- CrossSiteScriptingValidation.cs
- GuidConverter.cs
- BaseInfoTable.cs
- Header.cs
- ApplicationActivator.cs
- DBPropSet.cs
- Stack.cs
- AlignmentYValidation.cs
- PrintPageEvent.cs
- DataSourceControlBuilder.cs
- Native.cs
- FontStyle.cs
- ProfileInfo.cs
- FontCacheLogic.cs
- JavaScriptString.cs
- ScaleTransform3D.cs
- DayRenderEvent.cs
- AndCondition.cs
- RegexMatchCollection.cs
- ResizeGrip.cs
- ManagedFilter.cs
- ActivityDesigner.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- WindowsContainer.cs
- ProfileGroupSettings.cs
- XmlElementElement.cs
- BitStream.cs
- MenuItemBinding.cs
- HMAC.cs
- MsmqHostedTransportConfiguration.cs
- ConstraintEnumerator.cs
- New.cs
- MimeTypeMapper.cs
- ProcessModelSection.cs
- SortAction.cs
- CompositeCollectionView.cs
- BuildManager.cs
- Message.cs
- PreviewPrintController.cs
- UInt64Storage.cs
- QilVisitor.cs
- StylusDevice.cs
- StylusButtonEventArgs.cs
- UnsafeNativeMethodsCLR.cs
- QilLiteral.cs
- PeerNeighborManager.cs
- ClientSettingsSection.cs
- ChannelTraceRecord.cs
- ASCIIEncoding.cs
- XmlSchemaImport.cs
- TransformPattern.cs
- DataGridViewButtonColumn.cs
- DuplicateWaitObjectException.cs
- SqlBuilder.cs
- IgnoreDataMemberAttribute.cs
- SqlVersion.cs
- KeyInstance.cs
- GetKeyedHashRequest.cs
- ArrayList.cs
- ByeMessageApril2005.cs
- TdsEnums.cs
- ResourcesBuildProvider.cs
- MultilineStringConverter.cs
- GregorianCalendarHelper.cs
- Drawing.cs
- NonVisualControlAttribute.cs
- WorkflowDesignerColors.cs
- DataGridViewAddColumnDialog.cs
- DataTableExtensions.cs
- Sql8ExpressionRewriter.cs
- WebPartCatalogAddVerb.cs