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
- IntSecurity.cs
- GenerateScriptTypeAttribute.cs
- FixedElement.cs
- MethodBuilderInstantiation.cs
- DesignerWebPartChrome.cs
- RichTextBoxConstants.cs
- TileBrush.cs
- InternalConfigEventArgs.cs
- StringAnimationUsingKeyFrames.cs
- FormatVersion.cs
- FunctionDetailsReader.cs
- SizeAnimation.cs
- CmsUtils.cs
- SectionVisual.cs
- MatrixTransform.cs
- StickyNoteHelper.cs
- DbDataSourceEnumerator.cs
- WizardStepBase.cs
- tooltip.cs
- SpecialFolderEnumConverter.cs
- PeerApplication.cs
- FrameDimension.cs
- KeyFrames.cs
- DesignerCategoryAttribute.cs
- smtppermission.cs
- StylusCollection.cs
- UrlPath.cs
- PageVisual.cs
- ReadContentAsBinaryHelper.cs
- UserControl.cs
- StyleModeStack.cs
- SchemaImporterExtension.cs
- StrokeIntersection.cs
- CustomDictionarySources.cs
- XmlCharCheckingReader.cs
- DataGridViewIntLinkedList.cs
- XsdDuration.cs
- counter.cs
- DelegatingTypeDescriptionProvider.cs
- Converter.cs
- CodeGroup.cs
- DataTableNameHandler.cs
- BatchParser.cs
- XamlClipboardData.cs
- PathFigureCollection.cs
- ArraySortHelper.cs
- safelink.cs
- XmlSchemaSet.cs
- JsonReaderDelegator.cs
- DesignerVerb.cs
- ScopelessEnumAttribute.cs
- DesignerDeviceConfig.cs
- OdbcDataAdapter.cs
- CheckBoxPopupAdapter.cs
- Assembly.cs
- HttpStreamFormatter.cs
- ProcessExitedException.cs
- ListCollectionView.cs
- ForceCopyBuildProvider.cs
- HMACSHA384.cs
- XmlSchemaComplexType.cs
- HtmlTextArea.cs
- CodeCompiler.cs
- ResourceReferenceExpressionConverter.cs
- ConfigXmlCDataSection.cs
- GridViewAutomationPeer.cs
- GridViewSortEventArgs.cs
- RegistryPermission.cs
- WebPartConnectVerb.cs
- ConfigXmlReader.cs
- mansign.cs
- ExtensibleClassFactory.cs
- ScriptModule.cs
- Deflater.cs
- CancellationTokenSource.cs
- RuleSetCollection.cs
- UserPreferenceChangingEventArgs.cs
- HttpResponseMessageProperty.cs
- ParameterElement.cs
- DocumentCollection.cs
- MTConfigUtil.cs
- DataControlCommands.cs
- FloaterParaClient.cs
- AccessibleObject.cs
- StorageSetMapping.cs
- SqlClientPermission.cs
- SQLInt16Storage.cs
- OrCondition.cs
- CodeCommentStatement.cs
- TreeViewEvent.cs
- TrackingStringDictionary.cs
- LineMetrics.cs
- XamlSerializerUtil.cs
- InkCanvasAutomationPeer.cs
- UrlPropertyAttribute.cs
- XslAst.cs
- QueryStringParameter.cs
- AstTree.cs
- WmfPlaceableFileHeader.cs
- IPHostEntry.cs