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
- DataFormats.cs
- ConnectionInterfaceCollection.cs
- DmlSqlGenerator.cs
- URLAttribute.cs
- DataGridTextBox.cs
- AssemblyAttributes.cs
- XPathNodePointer.cs
- PolicyException.cs
- WebPartCatalogAddVerb.cs
- BypassElementCollection.cs
- BindingSource.cs
- DriveInfo.cs
- TypeResolvingOptionsAttribute.cs
- ComboBoxRenderer.cs
- FastEncoderWindow.cs
- SolidColorBrush.cs
- FixedSOMFixedBlock.cs
- ResolvePPIDRequest.cs
- DropShadowBitmapEffect.cs
- SupportsEventValidationAttribute.cs
- SchemaNotation.cs
- SmtpSection.cs
- IIS7UserPrincipal.cs
- FreezableDefaultValueFactory.cs
- StylusLogic.cs
- CreateBookmarkScope.cs
- FixUp.cs
- FieldValue.cs
- BooleanConverter.cs
- CompilerGeneratedAttribute.cs
- ExtenderControl.cs
- CustomCredentialPolicy.cs
- WpfWebRequestHelper.cs
- ControlPropertyNameConverter.cs
- FaultException.cs
- ImageAnimator.cs
- BitmapMetadata.cs
- FactoryGenerator.cs
- CachedBitmap.cs
- Ipv6Element.cs
- CodeDirectionExpression.cs
- ProcessHostMapPath.cs
- ActiveDocumentEvent.cs
- State.cs
- XmlSerializerVersionAttribute.cs
- DetailsViewInsertEventArgs.cs
- WebPartUserCapability.cs
- TagPrefixCollection.cs
- ParserStack.cs
- Lasso.cs
- WSDualHttpSecurityElement.cs
- UserPreferenceChangingEventArgs.cs
- __ConsoleStream.cs
- TraceUtils.cs
- util.cs
- HttpModulesSection.cs
- UIHelper.cs
- CompilerGlobalScopeAttribute.cs
- Int16KeyFrameCollection.cs
- DataServiceHostFactory.cs
- FilterException.cs
- ColumnMapCopier.cs
- DataGridHyperlinkColumn.cs
- XmlSchemaInferenceException.cs
- DataRowExtensions.cs
- ZeroOpNode.cs
- NameValuePair.cs
- PropertyEmitterBase.cs
- ExplicitDiscriminatorMap.cs
- BevelBitmapEffect.cs
- LayoutDump.cs
- Selection.cs
- IISUnsafeMethods.cs
- DataGridSortCommandEventArgs.cs
- BCryptNative.cs
- ToolboxItem.cs
- ThreadAttributes.cs
- DataMisalignedException.cs
- ClientCredentialsSecurityTokenManager.cs
- TextElement.cs
- OdbcStatementHandle.cs
- Opcode.cs
- ServiceHostFactory.cs
- FrameworkContentElement.cs
- BuildResult.cs
- TemplatedWizardStep.cs
- ListItemsPage.cs
- ExtractedStateEntry.cs
- SerializationInfoEnumerator.cs
- TrackingSection.cs
- DecimalConstantAttribute.cs
- PropertyBuilder.cs
- BeginStoryboard.cs
- TileBrush.cs
- StateManagedCollection.cs
- DataGridTextColumn.cs
- RepeatButton.cs
- HtmlShim.cs
- EventPrivateKey.cs
- FileDialog.cs