Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- HierarchicalDataSourceIDConverter.cs
- CollectionType.cs
- ConfigurationHandlersInstallComponent.cs
- DbMetaDataColumnNames.cs
- FilterableData.cs
- IgnoreSectionHandler.cs
- Win32KeyboardDevice.cs
- SqlTriggerAttribute.cs
- HttpClientCertificate.cs
- AuthorizationContext.cs
- TemplateColumn.cs
- DesignerActionItem.cs
- XmlDownloadManager.cs
- bidPrivateBase.cs
- DeploymentSection.cs
- CommonDialog.cs
- WebFormDesignerActionService.cs
- SoapReflectionImporter.cs
- ParentControlDesigner.cs
- RefreshResponseInfo.cs
- EventWaitHandle.cs
- TextEndOfParagraph.cs
- objectquery_tresulttype.cs
- VisualBasicExpressionConverter.cs
- COM2AboutBoxPropertyDescriptor.cs
- ListSortDescriptionCollection.cs
- NetDataContractSerializer.cs
- UnsafeNativeMethods.cs
- parserscommon.cs
- ToolStripRenderEventArgs.cs
- WizardPanelChangingEventArgs.cs
- MaterialCollection.cs
- MenuCommand.cs
- XmlTextReaderImplHelpers.cs
- Part.cs
- FlowDecisionLabelFeature.cs
- ChannelServices.cs
- PersianCalendar.cs
- ReadOnlyDataSource.cs
- MailMessage.cs
- DataColumnPropertyDescriptor.cs
- BamlTreeUpdater.cs
- Win32Exception.cs
- AdapterDictionary.cs
- UnaryNode.cs
- DrawListViewSubItemEventArgs.cs
- SocketConnection.cs
- Trace.cs
- Console.cs
- CanonicalXml.cs
- CacheDependency.cs
- SQLGuidStorage.cs
- TemplateKeyConverter.cs
- SrgsGrammar.cs
- HtmlTextArea.cs
- ExtensibleClassFactory.cs
- FileUtil.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- XmlMapping.cs
- DBAsyncResult.cs
- ConnectionStringsSection.cs
- TraversalRequest.cs
- Italic.cs
- SystemFonts.cs
- UnmanagedMemoryStreamWrapper.cs
- WebPartEditorApplyVerb.cs
- LogRecordSequence.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- DBConnection.cs
- IntellisenseTextBox.designer.cs
- BindingContext.cs
- SystemColors.cs
- sortedlist.cs
- IsolationInterop.cs
- BrowserCapabilitiesFactory.cs
- StructuralObject.cs
- IntegerValidator.cs
- CachedPathData.cs
- Cloud.cs
- SecurityRuntime.cs
- BaseInfoTable.cs
- MasterPage.cs
- TemplateNameScope.cs
- RegexGroupCollection.cs
- LicenseContext.cs
- SortDescription.cs
- PrintPreviewControl.cs
- SafeNativeMethods.cs
- QueueSurrogate.cs
- AppDomainManager.cs
- SizeConverter.cs
- HandlerBase.cs
- CollectionChange.cs
- ListViewCommandEventArgs.cs
- ResourceDescriptionAttribute.cs
- Directory.cs
- XPathNavigator.cs
- ValueTypeFixupInfo.cs
- ProfessionalColors.cs
- XamlVector3DCollectionSerializer.cs