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
- BevelBitmapEffect.cs
- DependencyPropertyValueSerializer.cs
- PropertyMap.cs
- IsolatedStorageFile.cs
- MenuStrip.cs
- OdbcErrorCollection.cs
- PropertyOverridesDialog.cs
- FormsAuthentication.cs
- GridViewPageEventArgs.cs
- ColumnWidthChangedEvent.cs
- BaseCodeDomTreeGenerator.cs
- ILGenerator.cs
- XmlDataSourceView.cs
- EntityDataSourceContextCreatedEventArgs.cs
- SequenceRange.cs
- DBConnectionString.cs
- AmbientProperties.cs
- HighlightComponent.cs
- QueryCacheKey.cs
- IntranetCredentialPolicy.cs
- SmtpLoginAuthenticationModule.cs
- WindowsTokenRoleProvider.cs
- QilPatternFactory.cs
- Accessible.cs
- CallContext.cs
- CommandConverter.cs
- MetafileHeader.cs
- ErrorWrapper.cs
- GetPolicyDetailsRequest.cs
- ConfigurationHelpers.cs
- Html32TextWriter.cs
- SmiTypedGetterSetter.cs
- columnmapkeybuilder.cs
- _HeaderInfo.cs
- JsonSerializer.cs
- SafeTimerHandle.cs
- QilInvokeEarlyBound.cs
- RuleSettingsCollection.cs
- TcpServerChannel.cs
- Errors.cs
- TextAnchor.cs
- RoutedPropertyChangedEventArgs.cs
- PointCollection.cs
- GuidConverter.cs
- MessageDecoder.cs
- EDesignUtil.cs
- MembershipUser.cs
- DispatcherFrame.cs
- WindowManager.cs
- SoapObjectWriter.cs
- ThreadPool.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- ProfessionalColors.cs
- ObjectDataProvider.cs
- PageFunction.cs
- IPPacketInformation.cs
- webbrowsersite.cs
- SamlDelegatingWriter.cs
- GenericWebPart.cs
- StructuralObject.cs
- XPathConvert.cs
- _HelperAsyncResults.cs
- VirtualPath.cs
- XslException.cs
- ObjectSpanRewriter.cs
- DbConnectionStringBuilder.cs
- CutCopyPasteHelper.cs
- FrameworkTextComposition.cs
- ObservableDictionary.cs
- ImageFormatConverter.cs
- StrokeRenderer.cs
- NumericExpr.cs
- Lock.cs
- ShaderRenderModeValidation.cs
- MessageAction.cs
- RadioButtonPopupAdapter.cs
- EntityContainerEmitter.cs
- PageRouteHandler.cs
- SimpleType.cs
- Exception.cs
- SqlVisitor.cs
- Italic.cs
- AvTraceDetails.cs
- GridErrorDlg.cs
- FontUnit.cs
- FileDialogCustomPlace.cs
- XmlElement.cs
- AuthenticationService.cs
- EntityDataSourceQueryBuilder.cs
- PagePropertiesChangingEventArgs.cs
- ConfigurationStrings.cs
- Mappings.cs
- IntPtr.cs
- UIElementParaClient.cs
- HostnameComparisonMode.cs
- CheckedPointers.cs
- ToolBarOverflowPanel.cs
- SamlAttributeStatement.cs
- SystemPens.cs
- SerializerDescriptor.cs