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
- XmlSignificantWhitespace.cs
- DbDataReader.cs
- EventProviderBase.cs
- dtdvalidator.cs
- RadioButtonPopupAdapter.cs
- ToolStripPanelRow.cs
- TabPanel.cs
- NumericUpDownAccelerationCollection.cs
- ToolStripPanelRow.cs
- SessionStateItemCollection.cs
- UpdatePanel.cs
- ControlAdapter.cs
- MissingSatelliteAssemblyException.cs
- Image.cs
- util.cs
- DataGridViewCellMouseEventArgs.cs
- SelectionRangeConverter.cs
- Deflater.cs
- LostFocusEventManager.cs
- NestPullup.cs
- ToolstripProfessionalRenderer.cs
- NavigationWindow.cs
- FormDocumentDesigner.cs
- BufferedGraphicsContext.cs
- TraceUtility.cs
- CharEntityEncoderFallback.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- CodeCastExpression.cs
- ListParaClient.cs
- BamlBinaryWriter.cs
- PerformanceCounterManager.cs
- SHA384.cs
- CompilerParameters.cs
- ToolStripGrip.cs
- SqlBuilder.cs
- GridViewRowPresenterBase.cs
- BoundConstants.cs
- OleDbMetaDataFactory.cs
- ExtensibleClassFactory.cs
- WebPartCloseVerb.cs
- DES.cs
- ModelFunction.cs
- JsonReaderWriterFactory.cs
- SchemaSetCompiler.cs
- wgx_commands.cs
- TypePresenter.xaml.cs
- OrderedEnumerableRowCollection.cs
- Native.cs
- typedescriptorpermission.cs
- SchemaNotation.cs
- CodeCatchClauseCollection.cs
- XPathEmptyIterator.cs
- StyleTypedPropertyAttribute.cs
- AuthenticateEventArgs.cs
- RequestQueryProcessor.cs
- StylusCollection.cs
- HeaderedItemsControl.cs
- AmbientLight.cs
- StyleXamlTreeBuilder.cs
- Bitmap.cs
- StrokeDescriptor.cs
- BoundsDrawingContextWalker.cs
- UnknownWrapper.cs
- TableDetailsRow.cs
- SapiRecoContext.cs
- UInt16Storage.cs
- PageHandlerFactory.cs
- DataServiceResponse.cs
- PreservationFileWriter.cs
- OdbcDataReader.cs
- ScriptingJsonSerializationSection.cs
- ContextDataSource.cs
- TreeNodeConverter.cs
- OperationResponse.cs
- CodeTypeDelegate.cs
- DBSqlParserColumnCollection.cs
- CommandEventArgs.cs
- Array.cs
- nulltextnavigator.cs
- DoubleSumAggregationOperator.cs
- Identifier.cs
- Site.cs
- QuaternionKeyFrameCollection.cs
- SqlTrackingQuery.cs
- DataBoundControlActionList.cs
- PropertyGroupDescription.cs
- Rules.cs
- HtmlInputRadioButton.cs
- UserControlBuildProvider.cs
- MobilePage.cs
- PcmConverter.cs
- templategroup.cs
- Drawing.cs
- ScriptComponentDescriptor.cs
- MultiTrigger.cs
- SiteMapPath.cs
- ContentPathSegment.cs
- FileUtil.cs
- DrawingGroupDrawingContext.cs
- CheckBoxBaseAdapter.cs