Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- HtmlImage.cs
- NonBatchDirectoryCompiler.cs
- EDesignUtil.cs
- TextFormatterContext.cs
- BooleanFunctions.cs
- CryptoConfig.cs
- ToolStripDropTargetManager.cs
- HighlightOverlayGlyph.cs
- Merger.cs
- ListSourceHelper.cs
- CultureSpecificStringDictionary.cs
- DataTableMapping.cs
- BufferedMessageWriter.cs
- Storyboard.cs
- Walker.cs
- VsPropertyGrid.cs
- DefaultValueTypeConverter.cs
- Helper.cs
- MailHeaderInfo.cs
- TransferRequestHandler.cs
- IsolationInterop.cs
- SafeRsaProviderHandle.cs
- AutomationElementIdentifiers.cs
- UnsettableComboBox.cs
- SizeKeyFrameCollection.cs
- BitmapMetadata.cs
- SqlConnection.cs
- ExpressionParser.cs
- TextDecorationCollection.cs
- DrawingCollection.cs
- DatagridviewDisplayedBandsData.cs
- InternalEnumValidatorAttribute.cs
- Point3DConverter.cs
- HyperLink.cs
- ArgumentDesigner.xaml.cs
- VirtualPath.cs
- ICspAsymmetricAlgorithm.cs
- NumberFunctions.cs
- DeclaredTypeElement.cs
- ServiceReflector.cs
- ProjectionPruner.cs
- EntityClientCacheEntry.cs
- XmlSchemaElement.cs
- TypeSemantics.cs
- KeyGestureConverter.cs
- ErrorFormatterPage.cs
- PrimitiveXmlSerializers.cs
- MediaSystem.cs
- BaseUriHelper.cs
- PassportIdentity.cs
- SmiSettersStream.cs
- FixedTextContainer.cs
- ToolboxComponentsCreatingEventArgs.cs
- CursorConverter.cs
- CopyNodeSetAction.cs
- XslTransform.cs
- ProbeMatchesApril2005.cs
- PersistChildrenAttribute.cs
- TreeView.cs
- _SSPIWrapper.cs
- XmlSchemaParticle.cs
- SQLInt64Storage.cs
- XmlSchemaSet.cs
- _SSPISessionCache.cs
- PathGeometry.cs
- HttpModuleCollection.cs
- NavigationCommands.cs
- SmiEventSink_DeferedProcessing.cs
- ScriptingWebServicesSectionGroup.cs
- RequestDescription.cs
- GPPOINTF.cs
- AsyncPostBackTrigger.cs
- WorkflowInstance.cs
- StringCollection.cs
- FreeFormDragDropManager.cs
- CharacterBufferReference.cs
- StandardToolWindows.cs
- ContentElement.cs
- OpCopier.cs
- Serializer.cs
- XmlSignatureManifest.cs
- CombinedGeometry.cs
- KeySpline.cs
- SolidColorBrush.cs
- WebUtil.cs
- Operand.cs
- ToolStripDropDownMenu.cs
- DataGridSortingEventArgs.cs
- CopyAttributesAction.cs
- ResXResourceReader.cs
- RichTextBoxConstants.cs
- XmlCharType.cs
- PrintingPermissionAttribute.cs
- InvokeBinder.cs
- ISFTagAndGuidCache.cs
- MulticastNotSupportedException.cs
- SafeRegistryHandle.cs
- TextRunCache.cs
- StateWorkerRequest.cs
- SearchExpression.cs