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
- TypeGenericEnumerableViewSchema.cs
- DataGridViewColumnStateChangedEventArgs.cs
- RegexMatchCollection.cs
- ToolboxDataAttribute.cs
- WorkflowViewService.cs
- ThicknessAnimationBase.cs
- SchemaType.cs
- WindowsComboBox.cs
- NativeMethods.cs
- MulticastDelegate.cs
- XmlWriterDelegator.cs
- AlternateViewCollection.cs
- WindowsSpinner.cs
- wgx_sdk_version.cs
- WebAdminConfigurationHelper.cs
- NotificationContext.cs
- ScaleTransform.cs
- MarshalByRefObject.cs
- HttpWriter.cs
- SoapSchemaMember.cs
- KerberosRequestorSecurityToken.cs
- HostingEnvironmentSection.cs
- SQLInt32.cs
- ColorConverter.cs
- SettingsPropertyValueCollection.cs
- DecodeHelper.cs
- Point3DAnimationBase.cs
- HiddenField.cs
- _Connection.cs
- SimpleFieldTemplateFactory.cs
- TransactionBehavior.cs
- URL.cs
- SortableBindingList.cs
- DEREncoding.cs
- HtmlTableCell.cs
- DecoderFallbackWithFailureFlag.cs
- SqlCacheDependencySection.cs
- CalendarAutoFormatDialog.cs
- MsmqHostedTransportConfiguration.cs
- SqlAggregateChecker.cs
- HtmlInputImage.cs
- BitmapFrame.cs
- MimeBasePart.cs
- MetadataUtil.cs
- updatecommandorderer.cs
- OdbcStatementHandle.cs
- HtmlElement.cs
- ComponentEvent.cs
- SystemInfo.cs
- ToolStripTextBox.cs
- DecoderNLS.cs
- RegistrySecurity.cs
- StreamUpdate.cs
- AlphabeticalEnumConverter.cs
- FormatterServices.cs
- SqlClientFactory.cs
- Directory.cs
- CustomErrorCollection.cs
- RepeaterItemEventArgs.cs
- WinInetCache.cs
- FontEmbeddingManager.cs
- ObjectContext.cs
- GradientStop.cs
- CodeCastExpression.cs
- XmlIlTypeHelper.cs
- GuidelineSet.cs
- RunInstallerAttribute.cs
- TargetControlTypeCache.cs
- Button.cs
- ThreadAttributes.cs
- SoapRpcServiceAttribute.cs
- SafeHandle.cs
- HttpCookie.cs
- SelectedGridItemChangedEvent.cs
- StringFormat.cs
- Dictionary.cs
- CapabilitiesRule.cs
- CommandID.cs
- Zone.cs
- DbConnectionPoolOptions.cs
- WebPartMinimizeVerb.cs
- DataRecordInternal.cs
- AccessDataSourceView.cs
- EllipticalNodeOperations.cs
- SurrogateEncoder.cs
- TableAdapterManagerNameHandler.cs
- TreeViewCancelEvent.cs
- CompositeFontInfo.cs
- SendingRequestEventArgs.cs
- DataControlPagerLinkButton.cs
- DateTimeStorage.cs
- XmlNodeComparer.cs
- BypassElement.cs
- ToolStripSettings.cs
- Span.cs
- FrameworkEventSource.cs
- RecognizedPhrase.cs
- SymmetricSecurityBindingElement.cs
- ColorKeyFrameCollection.cs
- NotifyParentPropertyAttribute.cs