Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / CodeDOM / CodeParameterDeclarationExpression.cs / 1 / CodeParameterDeclarationExpression.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeParameterDeclarationExpression : CodeExpression { private CodeTypeReference type; private string name; private CodeAttributeDeclarationCollection customAttributes = null; private FieldDirection dir = FieldDirection.In; ////// Represents a parameter declaration for method, constructor, or property arguments. /// ////// public CodeParameterDeclarationExpression() { } ////// Initializes a new instance of ///. /// /// public CodeParameterDeclarationExpression(CodeTypeReference type, string name) { Type = type; Name = name; } ////// Initializes a new instance of ///using the specified type and name. /// /// public CodeParameterDeclarationExpression(string type, string name) { Type = new CodeTypeReference(type); Name = name; } ///[To be supplied.] ////// public CodeParameterDeclarationExpression(Type type, string name) { Type = new CodeTypeReference(type); Name = name; } ///[To be supplied.] ////// public CodeAttributeDeclarationCollection CustomAttributes { get { if (customAttributes == null) { customAttributes = new CodeAttributeDeclarationCollection(); } return customAttributes; } set { customAttributes = value; } } ////// Gets or sets the custom attributes for the parameter declaration. /// ////// public FieldDirection Direction { get { return dir; } set { dir = value; } } ////// Gets or sets /// the direction of the field. /// ////// public CodeTypeReference Type { get { if (type == null) { type = new CodeTypeReference(""); } return type; } set { type = value; } } ////// Gets or sets /// the type of the parameter. /// ////// public string Name { get { return (name == null) ? string.Empty : name; } set { name = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets /// the name of the parameter. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeParameterDeclarationExpression : CodeExpression { private CodeTypeReference type; private string name; private CodeAttributeDeclarationCollection customAttributes = null; private FieldDirection dir = FieldDirection.In; ////// Represents a parameter declaration for method, constructor, or property arguments. /// ////// public CodeParameterDeclarationExpression() { } ////// Initializes a new instance of ///. /// /// public CodeParameterDeclarationExpression(CodeTypeReference type, string name) { Type = type; Name = name; } ////// Initializes a new instance of ///using the specified type and name. /// /// public CodeParameterDeclarationExpression(string type, string name) { Type = new CodeTypeReference(type); Name = name; } ///[To be supplied.] ////// public CodeParameterDeclarationExpression(Type type, string name) { Type = new CodeTypeReference(type); Name = name; } ///[To be supplied.] ////// public CodeAttributeDeclarationCollection CustomAttributes { get { if (customAttributes == null) { customAttributes = new CodeAttributeDeclarationCollection(); } return customAttributes; } set { customAttributes = value; } } ////// Gets or sets the custom attributes for the parameter declaration. /// ////// public FieldDirection Direction { get { return dir; } set { dir = value; } } ////// Gets or sets /// the direction of the field. /// ////// public CodeTypeReference Type { get { if (type == null) { type = new CodeTypeReference(""); } return type; } set { type = value; } } ////// Gets or sets /// the type of the parameter. /// ////// public string Name { get { return (name == null) ? string.Empty : name; } set { name = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets /// the name of the parameter. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataControlCommands.cs
- VisualStyleElement.cs
- StatusBar.cs
- DispatcherTimer.cs
- XhtmlConformanceSection.cs
- ReflectTypeDescriptionProvider.cs
- MasterPage.cs
- MetafileEditor.cs
- TabPanel.cs
- VolatileEnlistmentMultiplexing.cs
- TextTrailingWordEllipsis.cs
- IntegerValidatorAttribute.cs
- CellParagraph.cs
- Exceptions.cs
- ConfigXmlCDataSection.cs
- DataKey.cs
- IncrementalReadDecoders.cs
- EntityType.cs
- EventArgs.cs
- PropertyPathWorker.cs
- Html32TextWriter.cs
- BitStack.cs
- XamlReaderHelper.cs
- PasswordPropertyTextAttribute.cs
- COM2PropertyBuilderUITypeEditor.cs
- SqlDataSourceCustomCommandEditor.cs
- SafeBitVector32.cs
- XsltInput.cs
- TextStore.cs
- NameValueSectionHandler.cs
- SqlConnectionString.cs
- FontCacheLogic.cs
- ImageAttributes.cs
- ValidationPropertyAttribute.cs
- Ops.cs
- LogConverter.cs
- XmlText.cs
- DataRowView.cs
- BitmapInitialize.cs
- DrawListViewItemEventArgs.cs
- ResourceReader.cs
- SqlConnectionPoolGroupProviderInfo.cs
- InsufficientMemoryException.cs
- Deflater.cs
- figurelength.cs
- ImageField.cs
- LabelAutomationPeer.cs
- VisualStyleInformation.cs
- ParsedAttributeCollection.cs
- StringUtil.cs
- SchemaComplexType.cs
- TextSerializer.cs
- AudienceUriMode.cs
- InkPresenter.cs
- DnsPermission.cs
- TableLayoutSettingsTypeConverter.cs
- DesignerValidationSummaryAdapter.cs
- ReaderWriterLock.cs
- TriggerBase.cs
- UpdatePanelControlTrigger.cs
- RenderingBiasValidation.cs
- ObjectReferenceStack.cs
- NotifyCollectionChangedEventArgs.cs
- WebPartVerb.cs
- PackagePart.cs
- HttpTransportManager.cs
- XmlChildEnumerator.cs
- PropertyDescriptors.cs
- ChainedAsyncResult.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- storepermissionattribute.cs
- ServiceModelSectionGroup.cs
- DiscardableAttribute.cs
- followingquery.cs
- HostVisual.cs
- DrawItemEvent.cs
- messageonlyhwndwrapper.cs
- HttpClientChannel.cs
- CodeSnippetCompileUnit.cs
- QueryRewriter.cs
- CatalogZoneBase.cs
- Table.cs
- StorageComplexPropertyMapping.cs
- ContentOperations.cs
- DateTimeValueSerializer.cs
- CollectionViewGroup.cs
- PackageRelationshipCollection.cs
- ImageFormat.cs
- WsatRegistrationHeader.cs
- TransformPattern.cs
- StatusBar.cs
- UriTemplateLiteralPathSegment.cs
- SchemaMapping.cs
- RepeaterCommandEventArgs.cs
- XamlDesignerSerializationManager.cs
- VectorCollectionConverter.cs
- TcpChannelFactory.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- RowUpdatingEventArgs.cs
- OleCmdHelper.cs