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
- WhereaboutsReader.cs
- WebBrowserHelper.cs
- TextSimpleMarkerProperties.cs
- WebRequestModuleElementCollection.cs
- _KerberosClient.cs
- UpdateTracker.cs
- XPathQilFactory.cs
- OleDbCommandBuilder.cs
- MetafileHeaderWmf.cs
- GeneratedView.cs
- ExtenderControl.cs
- SelectionItemProviderWrapper.cs
- XPathPatternParser.cs
- DrawingDrawingContext.cs
- FileCodeGroup.cs
- SID.cs
- OracleString.cs
- SizeFConverter.cs
- ComboBoxAutomationPeer.cs
- QueryOptionExpression.cs
- Vertex.cs
- ModulesEntry.cs
- ConfigurationPermission.cs
- WebBrowserEvent.cs
- ViewCellSlot.cs
- Bits.cs
- Char.cs
- HttpRequestMessageProperty.cs
- TransportBindingElement.cs
- DependencyPropertyKey.cs
- NativeMethods.cs
- RectKeyFrameCollection.cs
- ServiceNotStartedException.cs
- SessionEndedEventArgs.cs
- coordinatorscratchpad.cs
- PartEditor.cs
- FormViewPagerRow.cs
- NativeRecognizer.cs
- FloaterParaClient.cs
- CodeSubDirectory.cs
- BaseTemplateBuildProvider.cs
- PerformanceCountersElement.cs
- RegisteredExpandoAttribute.cs
- SelectingProviderEventArgs.cs
- InvalidCastException.cs
- PkcsMisc.cs
- GeometryHitTestResult.cs
- InlineCollection.cs
- RIPEMD160.cs
- DiagnosticsConfigurationHandler.cs
- SQLSingle.cs
- ContentValidator.cs
- NodeInfo.cs
- PenThreadPool.cs
- DigestTraceRecordHelper.cs
- URLEditor.cs
- Pts.cs
- DefaultHttpHandler.cs
- CreateUserWizardStep.cs
- WebPartZoneBaseDesigner.cs
- SmiEventSink_DeferedProcessing.cs
- DrawListViewSubItemEventArgs.cs
- GACIdentityPermission.cs
- ProxyWebPart.cs
- RadialGradientBrush.cs
- MachineKeyConverter.cs
- DataGridViewColumn.cs
- ObservableCollectionDefaultValueFactory.cs
- AnnotationResourceChangedEventArgs.cs
- MonthChangedEventArgs.cs
- Events.cs
- ToolStripButton.cs
- TypeInitializationException.cs
- TimelineGroup.cs
- DataViewManager.cs
- AutomationEventArgs.cs
- Crc32Helper.cs
- TextBoxAutoCompleteSourceConverter.cs
- TouchDevice.cs
- InsufficientMemoryException.cs
- CqlParser.cs
- HttpModuleActionCollection.cs
- ParseChildrenAsPropertiesAttribute.cs
- IODescriptionAttribute.cs
- Object.cs
- DataServiceException.cs
- RuntimeHandles.cs
- SignatureDescription.cs
- PathSegment.cs
- RoutingChannelExtension.cs
- ChannelBase.cs
- InternalResources.cs
- IisTraceWebEventProvider.cs
- TextureBrush.cs
- filewebresponse.cs
- DataGridViewRow.cs
- IItemProperties.cs
- CompilerGeneratedAttribute.cs
- ImmutableCollection.cs
- NameObjectCollectionBase.cs