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
- ContentFilePart.cs
- CuspData.cs
- LogRestartAreaEnumerator.cs
- TableHeaderCell.cs
- TcpHostedTransportConfiguration.cs
- TextWriter.cs
- DeobfuscatingStream.cs
- MailAddressCollection.cs
- TextComposition.cs
- ListViewTableCell.cs
- SqlBulkCopy.cs
- Enum.cs
- CultureInfoConverter.cs
- AuthenticationModulesSection.cs
- ThemeConfigurationDialog.cs
- GetLastErrorDetailsRequest.cs
- IfElseDesigner.xaml.cs
- ClassHandlersStore.cs
- SqlWebEventProvider.cs
- MarkupExtensionParser.cs
- Int64Storage.cs
- EventMap.cs
- ValidatorUtils.cs
- dbenumerator.cs
- ConnectionPoint.cs
- AstTree.cs
- SchemaEntity.cs
- AmbiguousMatchException.cs
- Point3DAnimation.cs
- SequentialUshortCollection.cs
- GlobalProxySelection.cs
- SystemColors.cs
- UnsafeNetInfoNativeMethods.cs
- WizardPanel.cs
- SaveFileDialog.cs
- SortKey.cs
- DataSourceXmlSerializer.cs
- MemberDescriptor.cs
- ConfigXmlComment.cs
- List.cs
- ServicePointManagerElement.cs
- EventDescriptor.cs
- DataTrigger.cs
- ContextStack.cs
- Logging.cs
- SqlDataSourceSelectingEventArgs.cs
- VisualBasicReference.cs
- TemplateXamlTreeBuilder.cs
- Activator.cs
- AssociatedControlConverter.cs
- StickyNote.cs
- HelpInfo.cs
- DesignTableCollection.cs
- InlineCollection.cs
- HttpPostedFile.cs
- HandoffBehavior.cs
- RTLAwareMessageBox.cs
- SqlParameterizer.cs
- SecurityChannelFaultConverter.cs
- ImageListImageEditor.cs
- InstanceCompleteException.cs
- LiteralLink.cs
- SerializationException.cs
- Screen.cs
- BitmapEffectCollection.cs
- PersonalizationState.cs
- FileDialog_Vista_Interop.cs
- IsolatedStorageFileStream.cs
- FixedSOMElement.cs
- GlyphRunDrawing.cs
- KnownTypeAttribute.cs
- DataServiceContext.cs
- GeneralTransformGroup.cs
- Clipboard.cs
- PointCollectionValueSerializer.cs
- Journal.cs
- WebCategoryAttribute.cs
- CollectionType.cs
- TypeLoadException.cs
- SimpleHandlerBuildProvider.cs
- ToolStripSplitButton.cs
- TableLayoutColumnStyleCollection.cs
- DocumentAutomationPeer.cs
- MsmqIntegrationSecurityElement.cs
- XmlEnumAttribute.cs
- TextEditorThreadLocalStore.cs
- RawAppCommandInputReport.cs
- XmlNodeComparer.cs
- StatusBarPanelClickEvent.cs
- WinInet.cs
- CalendarDesigner.cs
- DbProviderFactory.cs
- File.cs
- SystemFonts.cs
- RectValueSerializer.cs
- XmlFormatExtensionPrefixAttribute.cs
- PropertyEmitterBase.cs
- SqlResolver.cs
- StylusOverProperty.cs
- EncryptedPackageFilter.cs