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
- StylusCaptureWithinProperty.cs
- EditorPartCollection.cs
- ArraySegment.cs
- RequestChannelBinder.cs
- FigureHelper.cs
- Calendar.cs
- PropVariant.cs
- ContractUtils.cs
- AlternateViewCollection.cs
- MissingMethodException.cs
- DependencyStoreSurrogate.cs
- WmlCommandAdapter.cs
- CompiledAction.cs
- Serializer.cs
- ChooseAction.cs
- Hyperlink.cs
- RootBrowserWindowAutomationPeer.cs
- TemplatedWizardStep.cs
- XmlSchemaType.cs
- TreeNodeCollection.cs
- SafeArrayTypeMismatchException.cs
- StateMachineHistory.cs
- GroupQuery.cs
- ResolveResponseInfo.cs
- CodeTypeDelegate.cs
- ApplicationCommands.cs
- Events.cs
- Light.cs
- SubqueryRules.cs
- CanonicalFontFamilyReference.cs
- ConfigXmlWhitespace.cs
- MethodBuilderInstantiation.cs
- DiscoveryClientChannelFactory.cs
- OpenFileDialog.cs
- AsyncContentLoadedEventArgs.cs
- HtmlSelect.cs
- WorkflowPageSetupDialog.cs
- MinimizableAttributeTypeConverter.cs
- ToolStripPanel.cs
- CacheEntry.cs
- InsufficientExecutionStackException.cs
- XmlParserContext.cs
- SystemResources.cs
- ItemMap.cs
- SystemSounds.cs
- ZipPackage.cs
- WorkflowEventArgs.cs
- OuterGlowBitmapEffect.cs
- WeakReferenceList.cs
- XmlDomTextWriter.cs
- DBDataPermissionAttribute.cs
- PrintPageEvent.cs
- ComplexPropertyEntry.cs
- ResourceContainer.cs
- SecurityTokenRequirement.cs
- CellRelation.cs
- TypeCacheManager.cs
- XmlCDATASection.cs
- EditorBrowsableAttribute.cs
- SimpleTypeResolver.cs
- ElementAtQueryOperator.cs
- Inflater.cs
- StringPropertyBuilder.cs
- Switch.cs
- SizeFConverter.cs
- HttpListener.cs
- DefaultTraceListener.cs
- FontWeightConverter.cs
- ToolStripDropDownClosingEventArgs.cs
- HttpCapabilitiesSectionHandler.cs
- SettingsSection.cs
- WindowsPrincipal.cs
- ModulesEntry.cs
- ContentType.cs
- Rules.cs
- SmiSettersStream.cs
- TextParagraphProperties.cs
- FormatterServicesNoSerializableCheck.cs
- EmbossBitmapEffect.cs
- CompModSwitches.cs
- PolyBezierSegmentFigureLogic.cs
- NetTcpBindingElement.cs
- RemoteWebConfigurationHostServer.cs
- ReverseInheritProperty.cs
- PrivilegeNotHeldException.cs
- StringSorter.cs
- ToolStripSystemRenderer.cs
- SystemColors.cs
- TextBreakpoint.cs
- BitmapFrameEncode.cs
- ToolStripHighContrastRenderer.cs
- ChainOfResponsibility.cs
- TargetParameterCountException.cs
- ObjectPersistData.cs
- EdmSchemaAttribute.cs
- ActivationArguments.cs
- BitmapSource.cs
- BaseTypeViewSchema.cs
- EditBehavior.cs
- CustomError.cs