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
- PasswordTextNavigator.cs
- XmlJsonWriter.cs
- BigInt.cs
- EnterpriseServicesHelper.cs
- validationstate.cs
- RemotingAttributes.cs
- _SslState.cs
- GridViewSortEventArgs.cs
- AmbiguousMatchException.cs
- AsyncOperationManager.cs
- DataSourceViewSchemaConverter.cs
- BasicExpandProvider.cs
- TableLayoutColumnStyleCollection.cs
- AudioFormatConverter.cs
- ReadOnlyPropertyMetadata.cs
- _ContextAwareResult.cs
- HttpResponseHeader.cs
- DragEvent.cs
- OdbcHandle.cs
- RootBrowserWindow.cs
- TemplatedEditableDesignerRegion.cs
- CheckBox.cs
- Clipboard.cs
- CodeArrayIndexerExpression.cs
- TdsParserHelperClasses.cs
- ProcessHost.cs
- ToolStripContextMenu.cs
- DES.cs
- MasterPageCodeDomTreeGenerator.cs
- Rect3D.cs
- FolderBrowserDialogDesigner.cs
- TextTreeNode.cs
- TypedRowGenerator.cs
- Brush.cs
- CapabilitiesPattern.cs
- MessageQueueConverter.cs
- StsCommunicationException.cs
- ActivityValidator.cs
- SchemaTypeEmitter.cs
- EnvelopedPkcs7.cs
- XmlILConstructAnalyzer.cs
- FullTextState.cs
- Mouse.cs
- DependentList.cs
- AsnEncodedData.cs
- RegistrationServices.cs
- MailAddress.cs
- XmlQueryOutput.cs
- MatrixCamera.cs
- FunctionNode.cs
- UriWriter.cs
- Constraint.cs
- QuaternionRotation3D.cs
- ImplicitInputBrush.cs
- DeclaredTypeValidator.cs
- TextEditorCharacters.cs
- SafeCryptContextHandle.cs
- TabPage.cs
- Configuration.cs
- storepermission.cs
- HwndSource.cs
- WSHttpSecurity.cs
- DocumentXmlWriter.cs
- IndentTextWriter.cs
- WebControlsSection.cs
- SqlProvider.cs
- VoiceInfo.cs
- NullRuntimeConfig.cs
- SqlColumnizer.cs
- TimeZoneNotFoundException.cs
- StandardCommandToolStripMenuItem.cs
- SkipQueryOptionExpression.cs
- ServicePointManager.cs
- GridViewRowEventArgs.cs
- WindowVisualStateTracker.cs
- PassportPrincipal.cs
- WebPartAddingEventArgs.cs
- ByteFacetDescriptionElement.cs
- LocalizableAttribute.cs
- AnonymousIdentificationModule.cs
- CodeTypeMember.cs
- LineServices.cs
- FixUpCollection.cs
- MasterPageCodeDomTreeGenerator.cs
- PerfProviderCollection.cs
- CalloutQueueItem.cs
- SystemResources.cs
- ContextMenu.cs
- CombinedGeometry.cs
- Viewport3DAutomationPeer.cs
- ApplicationBuildProvider.cs
- EntityProxyFactory.cs
- StylusPointPropertyId.cs
- PriorityRange.cs
- ContainerActivationHelper.cs
- CorrelationManager.cs
- __Filters.cs
- SmiContext.cs
- CryptoStream.cs
- BindingExpressionBase.cs