Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeParameterDeclarationExpression.cs / 1305376 / CodeParameterDeclarationExpression.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- XmlSerializerFactory.cs
- RawMouseInputReport.cs
- XmlFormatWriterGenerator.cs
- URLString.cs
- CollectionBuilder.cs
- BezierSegment.cs
- ContractMapping.cs
- OleServicesContext.cs
- CapabilitiesPattern.cs
- X509InitiatorCertificateServiceElement.cs
- TraceContext.cs
- ScriptModule.cs
- SkinBuilder.cs
- BasicKeyConstraint.cs
- CompressedStack.cs
- PageContentAsyncResult.cs
- InvalidAsynchronousStateException.cs
- XhtmlBasicControlAdapter.cs
- SHA1CryptoServiceProvider.cs
- CaseKeyBox.ViewModel.cs
- SafeTimerHandle.cs
- XPathAncestorQuery.cs
- PropertyMetadata.cs
- HtmlMeta.cs
- DataBindingCollection.cs
- LassoHelper.cs
- BitmapEffectInputData.cs
- EndpointFilterProvider.cs
- GlyphsSerializer.cs
- GestureRecognitionResult.cs
- ColumnHeaderCollectionEditor.cs
- PersonalizationProvider.cs
- AttributeUsageAttribute.cs
- _HeaderInfoTable.cs
- MultidimensionalArrayItemReference.cs
- User.cs
- RelatedImageListAttribute.cs
- ColorContextHelper.cs
- WindowsStatic.cs
- CorrelationResolver.cs
- PowerEase.cs
- ColumnMapVisitor.cs
- RoleManagerModule.cs
- ListViewItem.cs
- DataSourceNameHandler.cs
- SpecialNameAttribute.cs
- DataGridTable.cs
- AppDomainProtocolHandler.cs
- DataControlLinkButton.cs
- AdPostCacheSubstitution.cs
- SetterBase.cs
- MetadataException.cs
- FloatMinMaxAggregationOperator.cs
- DataGridSortCommandEventArgs.cs
- ArrangedElementCollection.cs
- HashCodeCombiner.cs
- Highlights.cs
- ListViewItem.cs
- ConfigurationPermission.cs
- RemoveStoryboard.cs
- MetadataArtifactLoaderCompositeResource.cs
- WebCodeGenerator.cs
- OutputScopeManager.cs
- X500Name.cs
- WebBrowserContainer.cs
- BuiltInPermissionSets.cs
- WebPart.cs
- XmlDocumentType.cs
- ContentPresenter.cs
- TextBoxBaseDesigner.cs
- ISAPIWorkerRequest.cs
- SqlDataSourceConfigureSelectPanel.cs
- XmlNodeList.cs
- PersonalizationProviderCollection.cs
- FileDetails.cs
- IPAddress.cs
- DataControlImageButton.cs
- ToolStripOverflowButton.cs
- TabControl.cs
- TextSimpleMarkerProperties.cs
- XmlBindingWorker.cs
- DocumentViewerBaseAutomationPeer.cs
- UserNamePasswordClientCredential.cs
- SimpleBitVector32.cs
- PersistencePipeline.cs
- CharacterHit.cs
- DragStartedEventArgs.cs
- Identity.cs
- SqlDataSourceCache.cs
- AppearanceEditorPart.cs
- ComplusEndpointConfigContainer.cs
- SqlDataSourceCustomCommandPanel.cs
- ResolveNameEventArgs.cs
- IItemContainerGenerator.cs
- KnownBoxes.cs
- GregorianCalendarHelper.cs
- EditingCoordinator.cs
- OpCodes.cs
- DeviceContext.cs
- StylusButton.cs