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
- PerformanceCounterPermission.cs
- Main.cs
- MailMessage.cs
- ActivityStateQuery.cs
- PropertyChangedEventArgs.cs
- XmlDataDocument.cs
- VectorAnimationUsingKeyFrames.cs
- HttpListenerResponse.cs
- DescendantQuery.cs
- SqlWriter.cs
- CustomTypeDescriptor.cs
- _emptywebproxy.cs
- PropertyTabChangedEvent.cs
- DataGridCaption.cs
- WindowsBrush.cs
- LayoutEditorPart.cs
- DocumentGridPage.cs
- HwndSource.cs
- KeyValuePairs.cs
- SqlCaseSimplifier.cs
- XPathQueryGenerator.cs
- XmlDataLoader.cs
- ProviderCollection.cs
- FontStretch.cs
- WindowsRichEdit.cs
- WebBrowserEvent.cs
- DataColumnPropertyDescriptor.cs
- DataGridSortingEventArgs.cs
- ValuePattern.cs
- DispatcherExceptionEventArgs.cs
- XsdCachingReader.cs
- AliasExpr.cs
- SoapMessage.cs
- CommandBinding.cs
- Constraint.cs
- FlagsAttribute.cs
- Activator.cs
- RankException.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- DoubleLinkList.cs
- HttpConfigurationContext.cs
- HttpFileCollection.cs
- CharAnimationBase.cs
- OleCmdHelper.cs
- SignerInfo.cs
- SpeechRecognizer.cs
- URLIdentityPermission.cs
- BuildProviderAppliesToAttribute.cs
- ActivityDesignerResources.cs
- ThreadAttributes.cs
- EntityFrameworkVersions.cs
- Unit.cs
- MissingFieldException.cs
- connectionpool.cs
- CustomAttribute.cs
- XXXInfos.cs
- DefaultObjectMappingItemCollection.cs
- TableLayoutCellPaintEventArgs.cs
- EdmTypeAttribute.cs
- SmiMetaDataProperty.cs
- ApplicationSecurityManager.cs
- RotateTransform.cs
- XmlQueryTypeFactory.cs
- TypeTypeConverter.cs
- GlyphRun.cs
- CompilerInfo.cs
- _RequestCacheProtocol.cs
- DrawingContextDrawingContextWalker.cs
- CompiledQuery.cs
- ApplicationBuildProvider.cs
- SecurityUtils.cs
- GroupItem.cs
- DeploymentSectionCache.cs
- Rijndael.cs
- SqlClientFactory.cs
- SQLByte.cs
- UxThemeWrapper.cs
- Int64AnimationBase.cs
- OdbcError.cs
- DataGridTable.cs
- x509store.cs
- XmlSigningNodeWriter.cs
- ContextDataSource.cs
- webeventbuffer.cs
- PrePostDescendentsWalker.cs
- XmlSchemas.cs
- DocumentViewerBaseAutomationPeer.cs
- PageRanges.cs
- DelegateHelpers.Generated.cs
- SecurityPolicySection.cs
- EdmScalarPropertyAttribute.cs
- DataGridViewUtilities.cs
- BitmapEffectrendercontext.cs
- AssertSection.cs
- ProcessHostConfigUtils.cs
- Socket.cs
- ReadOnlyHierarchicalDataSource.cs
- AutomationEvent.cs
- CodeCatchClauseCollection.cs
- MultiView.cs