Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- EvidenceBase.cs
- NativeObjectSecurity.cs
- DateTimeSerializationSection.cs
- DynamicEndpointElement.cs
- UnsafeNativeMethods.cs
- BCLDebug.cs
- XPathPatternParser.cs
- DocumentEventArgs.cs
- OrderByBuilder.cs
- BinaryReader.cs
- ProcessHostMapPath.cs
- GZipUtils.cs
- HttpCacheVaryByContentEncodings.cs
- AuthorizationRule.cs
- SelectQueryOperator.cs
- TreeViewCancelEvent.cs
- HtmlTableCell.cs
- WindowsServiceElement.cs
- SqlExpressionNullability.cs
- PropertyPath.cs
- TimeSpan.cs
- Menu.cs
- SerializableReadOnlyDictionary.cs
- Point4D.cs
- ToolStripStatusLabel.cs
- ImageClickEventArgs.cs
- PagesSection.cs
- ExceptionDetail.cs
- TextBreakpoint.cs
- PeerContact.cs
- TiffBitmapDecoder.cs
- HandlerBase.cs
- UriSectionReader.cs
- WebPartCollection.cs
- XmlDictionaryReaderQuotasElement.cs
- AlternationConverter.cs
- TreeViewEvent.cs
- CustomAttribute.cs
- TransferRequestHandler.cs
- ConsumerConnectionPoint.cs
- TraversalRequest.cs
- StylusEditingBehavior.cs
- PathTooLongException.cs
- Int32RectConverter.cs
- WebPartEventArgs.cs
- IndentedWriter.cs
- PersonalizationEntry.cs
- UpdateException.cs
- TransactionValidationBehavior.cs
- CustomTypeDescriptor.cs
- Byte.cs
- FtpWebResponse.cs
- UInt64Storage.cs
- StrictModeSecurityHeaderElementInferenceEngine.cs
- Vector3dCollection.cs
- precedingsibling.cs
- FileDialogCustomPlaces.cs
- Cursor.cs
- DbProviderFactory.cs
- XmlTypeAttribute.cs
- PrintEvent.cs
- SqlDependency.cs
- HashStream.cs
- RoutingUtilities.cs
- BridgeDataRecord.cs
- MemberMaps.cs
- ErrorRuntimeConfig.cs
- DataSysAttribute.cs
- filewebrequest.cs
- ZipPackage.cs
- CommandField.cs
- ProgramPublisher.cs
- ImportCatalogPart.cs
- RenderOptions.cs
- ListItemConverter.cs
- CodeLabeledStatement.cs
- Byte.cs
- X509ThumbprintKeyIdentifierClause.cs
- EnvelopedPkcs7.cs
- UnhandledExceptionEventArgs.cs
- BoundColumn.cs
- ChangeDirector.cs
- XmlJsonReader.cs
- sqlnorm.cs
- AutoGeneratedFieldProperties.cs
- NetSectionGroup.cs
- ObjectStateManagerMetadata.cs
- CngAlgorithm.cs
- WebBrowserSiteBase.cs
- ConfigurationValue.cs
- messageonlyhwndwrapper.cs
- IdleTimeoutMonitor.cs
- BlockCollection.cs
- UndoManager.cs
- UIElementPropertyUndoUnit.cs
- ResourceReader.cs
- IgnoreFileBuildProvider.cs
- CheckBoxFlatAdapter.cs
- TextRunCacheImp.cs
- ZipIOFileItemStream.cs