Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DependencyPropertyChangedEventArgs.cs
- ListViewGroupConverter.cs
- RequestUriProcessor.cs
- QilStrConcat.cs
- XPathParser.cs
- BindingMAnagerBase.cs
- X509InitiatorCertificateServiceElement.cs
- Location.cs
- MethodAccessException.cs
- Transform.cs
- sqlinternaltransaction.cs
- _HelperAsyncResults.cs
- GridViewRowEventArgs.cs
- PagePropertiesChangingEventArgs.cs
- DataControlLinkButton.cs
- TableLayoutSettings.cs
- SqlBooleanMismatchVisitor.cs
- TreeViewBindingsEditor.cs
- CodeExpressionCollection.cs
- Pointer.cs
- OletxCommittableTransaction.cs
- HttpApplicationFactory.cs
- FormViewPageEventArgs.cs
- Pen.cs
- CheckBoxField.cs
- SchemaCollectionPreprocessor.cs
- ComponentEvent.cs
- StaticResourceExtension.cs
- NullToBooleanConverter.cs
- ErrorLog.cs
- VisualBasicSettings.cs
- SyndicationSerializer.cs
- XmlSchemaComplexContent.cs
- StringAnimationBase.cs
- TraceSection.cs
- ExceptionNotification.cs
- Border.cs
- StrongNameHelpers.cs
- MulticastIPAddressInformationCollection.cs
- InternalConfigHost.cs
- FragmentQueryProcessor.cs
- SQLGuid.cs
- BroadcastEventHelper.cs
- ClientScriptManager.cs
- XmlArrayItemAttributes.cs
- MultiSelectRootGridEntry.cs
- _LocalDataStore.cs
- RijndaelManagedTransform.cs
- FixedLineResult.cs
- SiteOfOriginContainer.cs
- XmlSchemaComplexType.cs
- ComplusTypeValidator.cs
- RegistryHandle.cs
- EntityViewGenerationConstants.cs
- SafeNativeMethods.cs
- SourceCollection.cs
- Pair.cs
- ObjectDataSourceFilteringEventArgs.cs
- httpapplicationstate.cs
- MetadataArtifactLoaderResource.cs
- FixedBufferAttribute.cs
- TableHeaderCell.cs
- DecimalAnimation.cs
- EntityModelBuildProvider.cs
- AutomationPropertyInfo.cs
- LinkedList.cs
- EnvironmentPermission.cs
- TypeConverterHelper.cs
- DetailsViewInsertEventArgs.cs
- AbsoluteQuery.cs
- FormsAuthentication.cs
- VectorCollectionValueSerializer.cs
- AspCompat.cs
- ReachPrintTicketSerializerAsync.cs
- QilInvokeEarlyBound.cs
- Zone.cs
- LostFocusEventManager.cs
- WindowsBrush.cs
- XmlReader.cs
- CollectionContainer.cs
- LogEntryHeaderv1Deserializer.cs
- HtmlEmptyTagControlBuilder.cs
- GetImportedCardRequest.cs
- X509UI.cs
- RoutedCommand.cs
- StringUtil.cs
- GenerateHelper.cs
- SupportsEventValidationAttribute.cs
- DataContractSerializerOperationFormatter.cs
- Inline.cs
- BindingNavigatorDesigner.cs
- Soap.cs
- DockEditor.cs
- Transform3D.cs
- WindowsTab.cs
- XmlTypeAttribute.cs
- TypeInfo.cs
- SafeReversePInvokeHandle.cs
- DBConcurrencyException.cs
- ApplicationBuildProvider.cs