Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- IisTraceListener.cs
- DerivedKeySecurityToken.cs
- Interlocked.cs
- TreeNodeCollection.cs
- ImportCatalogPart.cs
- AnimationLayer.cs
- UpdateCompiler.cs
- PasswordTextNavigator.cs
- CellQuery.cs
- CssStyleCollection.cs
- SerializerProvider.cs
- GenericAuthenticationEventArgs.cs
- TextRenderer.cs
- ConfigXmlWhitespace.cs
- SR.cs
- EventDescriptor.cs
- _CookieModule.cs
- ObjectManager.cs
- ListSortDescription.cs
- DbParameterHelper.cs
- AssociationEndMember.cs
- EntityDataSource.cs
- Graphics.cs
- IdentitySection.cs
- RoleBoolean.cs
- HyperLinkStyle.cs
- TextMessageEncodingBindingElement.cs
- SafeNativeMethodsOther.cs
- TextEditorSelection.cs
- FrameSecurityDescriptor.cs
- RemoteWebConfigurationHostServer.cs
- ProfileGroupSettings.cs
- GridViewItemAutomationPeer.cs
- DataGridViewCellParsingEventArgs.cs
- OleDbConnection.cs
- TextPointerBase.cs
- DatatypeImplementation.cs
- HitTestFilterBehavior.cs
- ToolStripSplitButton.cs
- OptimizerPatterns.cs
- DaylightTime.cs
- XmlQueryTypeFactory.cs
- Matrix.cs
- CounterCreationData.cs
- Set.cs
- TreeNodeConverter.cs
- LineUtil.cs
- PartialTrustVisibleAssembly.cs
- ToolStripButton.cs
- SafeWaitHandle.cs
- InlineUIContainer.cs
- DefaultAsyncDataDispatcher.cs
- ISFTagAndGuidCache.cs
- EntityDataSourceEntityTypeFilterItem.cs
- regiisutil.cs
- EventManager.cs
- shaper.cs
- TypeToken.cs
- LinkedList.cs
- ComponentEditorPage.cs
- EntityDataSourceDesignerHelper.cs
- EditorPartCollection.cs
- TemplatedWizardStep.cs
- SystemGatewayIPAddressInformation.cs
- SamlNameIdentifierClaimResource.cs
- DelayDesigner.cs
- AsyncOperationManager.cs
- SyndicationPerson.cs
- CubicEase.cs
- GuidTagList.cs
- CanonicalXml.cs
- ScriptingJsonSerializationSection.cs
- XmlUtf8RawTextWriter.cs
- UndirectedGraph.cs
- WSFederationHttpBindingCollectionElement.cs
- OleDbErrorCollection.cs
- WindowsImpersonationContext.cs
- Setter.cs
- BitmapScalingModeValidation.cs
- AdapterDictionary.cs
- AsymmetricSignatureFormatter.cs
- ErrorStyle.cs
- SQLInt16Storage.cs
- QueryLifecycle.cs
- OuterGlowBitmapEffect.cs
- SmtpReplyReaderFactory.cs
- Variable.cs
- ActivatedMessageQueue.cs
- OperatingSystem.cs
- ScopelessEnumAttribute.cs
- IntellisenseTextBox.cs
- Literal.cs
- GreaterThan.cs
- SafeTokenHandle.cs
- HttpEncoder.cs
- ArrayList.cs
- DivideByZeroException.cs
- AliasedSlot.cs
- BufferBuilder.cs
- OleDbConnectionInternal.cs