Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- LinearGradientBrush.cs
- MachineKeyValidationConverter.cs
- TableCellCollection.cs
- FlowLayoutPanel.cs
- InputBinder.cs
- MapPathBasedVirtualPathProvider.cs
- AdapterUtil.cs
- PageCatalogPart.cs
- ServerIdentity.cs
- Path.cs
- UpdateEventArgs.cs
- XPathScanner.cs
- ConfigXmlText.cs
- TreePrinter.cs
- CharStorage.cs
- Misc.cs
- FactoryGenerator.cs
- tooltip.cs
- PenThreadWorker.cs
- ResXDataNode.cs
- SharedTcpTransportManager.cs
- BitmapMetadata.cs
- EventLog.cs
- SqlXmlStorage.cs
- XamlToRtfWriter.cs
- VolatileResourceManager.cs
- XamlPoint3DCollectionSerializer.cs
- RankException.cs
- StateManagedCollection.cs
- AvtEvent.cs
- BamlRecordWriter.cs
- CqlParser.cs
- XmlDeclaration.cs
- BindingWorker.cs
- ConfigXmlDocument.cs
- ConsoleCancelEventArgs.cs
- EditBehavior.cs
- FramingFormat.cs
- Soap12FormatExtensions.cs
- AbandonedMutexException.cs
- InteropAutomationProvider.cs
- PrimitiveCodeDomSerializer.cs
- ClientUriBehavior.cs
- SecureEnvironment.cs
- Vector3DKeyFrameCollection.cs
- RewritingPass.cs
- PermissionListSet.cs
- FormViewInsertedEventArgs.cs
- Setter.cs
- NumericUpDownAccelerationCollection.cs
- RegexRunner.cs
- EasingFunctionBase.cs
- JournalEntryStack.cs
- Vector3DIndependentAnimationStorage.cs
- ClientConfigPaths.cs
- HeaderUtility.cs
- MultiDataTrigger.cs
- LocalBuilder.cs
- TemplateField.cs
- EmptyControlCollection.cs
- AnnotationHelper.cs
- PrimitiveOperationFormatter.cs
- Popup.cs
- Deflater.cs
- HttpCookiesSection.cs
- MediaTimeline.cs
- ObjectTypeMapping.cs
- ToolStripSeparator.cs
- AmbientLight.cs
- DeadLetterQueue.cs
- XPathConvert.cs
- MachineKeyConverter.cs
- DesignerCategoryAttribute.cs
- FontStretches.cs
- ResXBuildProvider.cs
- _AutoWebProxyScriptHelper.cs
- LoginView.cs
- SignedXml.cs
- OletxResourceManager.cs
- HtmlInputHidden.cs
- XmlHierarchicalEnumerable.cs
- FolderLevelBuildProvider.cs
- Symbol.cs
- LocalValueEnumerator.cs
- ListenerHandler.cs
- AsyncInvokeContext.cs
- XmlCharCheckingWriter.cs
- PackagingUtilities.cs
- MimeMultiPart.cs
- DefaultTraceListener.cs
- BrushMappingModeValidation.cs
- DetailsViewInsertedEventArgs.cs
- SequenceQuery.cs
- ListManagerBindingsCollection.cs
- NetPeerTcpBinding.cs
- AudioSignalProblemOccurredEventArgs.cs
- coordinatorfactory.cs
- EventLogEntry.cs
- DrawingAttributesDefaultValueFactory.cs
- AsyncStreamReader.cs