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
- VisualTreeUtils.cs
- assertwrapper.cs
- DispatcherFrame.cs
- DefaultHttpHandler.cs
- UserControlCodeDomTreeGenerator.cs
- xdrvalidator.cs
- mediaclock.cs
- UpdateRecord.cs
- GenericsInstances.cs
- MediaContext.cs
- WeakReferenceList.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SafeRightsManagementHandle.cs
- DetailsViewUpdateEventArgs.cs
- XMLDiffLoader.cs
- LabelEditEvent.cs
- FontClient.cs
- WindowsEditBox.cs
- PageBuildProvider.cs
- MachineKeyConverter.cs
- RadioButtonAutomationPeer.cs
- EditorResources.cs
- PenCursorManager.cs
- Function.cs
- Transactions.cs
- QuadraticBezierSegment.cs
- InternalConfigHost.cs
- SelectedCellsChangedEventArgs.cs
- ping.cs
- Win32.cs
- SqlClientWrapperSmiStreamChars.cs
- BulletDecorator.cs
- MobileControlBuilder.cs
- _KerberosClient.cs
- MemberRelationshipService.cs
- ImageSourceValueSerializer.cs
- MenuBindingsEditor.cs
- ClientFormsIdentity.cs
- NumberFormatInfo.cs
- ByteStorage.cs
- autovalidator.cs
- BaseDataBoundControl.cs
- MouseCaptureWithinProperty.cs
- Duration.cs
- Polyline.cs
- MeasureItemEvent.cs
- StringKeyFrameCollection.cs
- ToolStripProgressBar.cs
- BitmapEffectCollection.cs
- DiagnosticTrace.cs
- SvcMapFileLoader.cs
- UpdateTranslator.cs
- WindowsListViewItemCheckBox.cs
- Rotation3D.cs
- ToolStripGrip.cs
- ManagementClass.cs
- WebPartVerb.cs
- StringKeyFrameCollection.cs
- SqlCacheDependencySection.cs
- handlecollector.cs
- NumericExpr.cs
- ProfileSettings.cs
- CodeParameterDeclarationExpression.cs
- NamespaceEmitter.cs
- NativeMethods.cs
- DataMember.cs
- DesignTimeValidationFeature.cs
- SignedPkcs7.cs
- IndexedWhereQueryOperator.cs
- AxHost.cs
- EventWaitHandleSecurity.cs
- ConsoleTraceListener.cs
- PropertyChangingEventArgs.cs
- ProcessHostServerConfig.cs
- LogoValidationException.cs
- ValidationErrorCollection.cs
- DataGridViewRowPrePaintEventArgs.cs
- SupportedAddressingMode.cs
- IndentedTextWriter.cs
- ResourceAttributes.cs
- ToolStripLocationCancelEventArgs.cs
- EventDescriptorCollection.cs
- RectAnimationUsingKeyFrames.cs
- BaseTypeViewSchema.cs
- ResumeStoryboard.cs
- XPathDocument.cs
- _WebProxyDataBuilder.cs
- GridViewRow.cs
- BindableTemplateBuilder.cs
- FileSecurity.cs
- XPathArrayIterator.cs
- util.cs
- AnimationStorage.cs
- ScrollContentPresenter.cs
- GridViewColumn.cs
- BaseValidator.cs
- Themes.cs
- SecurityTokenProviderContainer.cs
- XmlPreloadedResolver.cs
- SelectorAutomationPeer.cs