Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeParameter.cs / 1305376 / CodeTypeParameter.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- 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.[....] // Copyright (c) Microsoft Corporation. All rights reserved. //
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextDecorationLocationValidation.cs
- SelectorAutomationPeer.cs
- QualifiedCellIdBoolean.cs
- InstanceLockLostException.cs
- WindowsImpersonationContext.cs
- QilVisitor.cs
- WebPartZoneCollection.cs
- DesignerExtenders.cs
- FormViewInsertedEventArgs.cs
- MappedMetaModel.cs
- SoapIgnoreAttribute.cs
- CatalogPart.cs
- AspCompat.cs
- CodeVariableDeclarationStatement.cs
- BaseResourcesBuildProvider.cs
- SetterBaseCollection.cs
- Highlights.cs
- WebPartConnection.cs
- DataGridViewCellMouseEventArgs.cs
- WeakEventTable.cs
- NativeMethods.cs
- WorkflowServiceBuildProvider.cs
- ServicePointManager.cs
- ManagedWndProcTracker.cs
- TextBoxRenderer.cs
- ExpressionDumper.cs
- ClientBuildManagerCallback.cs
- ActivationArguments.cs
- DiagnosticsConfigurationHandler.cs
- CodeConstructor.cs
- PersonalizationAdministration.cs
- WebReferencesBuildProvider.cs
- CollectionChange.cs
- ColumnBinding.cs
- DesignerAutoFormat.cs
- ClassHandlersStore.cs
- ScriptRegistrationManager.cs
- Win32.cs
- FixedFindEngine.cs
- SvcFileManager.cs
- CodeObjectCreateExpression.cs
- ViewSimplifier.cs
- DocumentPage.cs
- Keyboard.cs
- XmlExtensionFunction.cs
- RewritingSimplifier.cs
- BinaryFormatter.cs
- CryptoConfig.cs
- SoapMessage.cs
- EnumDataContract.cs
- WebPartEditorOkVerb.cs
- ControlCollection.cs
- WMIGenerator.cs
- VirtualPathProvider.cs
- AvtEvent.cs
- HwndPanningFeedback.cs
- Version.cs
- AppSettingsReader.cs
- TextTrailingWordEllipsis.cs
- StateWorkerRequest.cs
- PlaceHolder.cs
- ScrollableControl.cs
- COM2Enum.cs
- SelectedPathEditor.cs
- Symbol.cs
- SectionRecord.cs
- ExtenderProviderService.cs
- followingsibling.cs
- FontDriver.cs
- StrongNameKeyPair.cs
- CapabilitiesPattern.cs
- SinglePageViewer.cs
- StylusEditingBehavior.cs
- AccessedThroughPropertyAttribute.cs
- SqlCaseSimplifier.cs
- ExceptionHelpers.cs
- XPathPatternBuilder.cs
- NestedContainer.cs
- TextTreeTextElementNode.cs
- TabControlCancelEvent.cs
- HostProtectionPermission.cs
- ChannelTokenTypeConverter.cs
- VisualTreeUtils.cs
- RootDesignerSerializerAttribute.cs
- DispatcherProcessingDisabled.cs
- GlobalAllocSafeHandle.cs
- XmlNamedNodeMap.cs
- BitmapCodecInfoInternal.cs
- ArcSegment.cs
- DataGridViewCellFormattingEventArgs.cs
- CookieHandler.cs
- XmlSchemaSimpleContent.cs
- CssClassPropertyAttribute.cs
- MethodImplAttribute.cs
- TextParentUndoUnit.cs
- ToolStripItemClickedEventArgs.cs
- PreloadHost.cs
- RuleSetDialog.cs
- Binding.cs
- DetailsViewModeEventArgs.cs