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
- PageOrientation.cs
- JournalEntryListConverter.cs
- DoubleCollectionConverter.cs
- BamlTreeUpdater.cs
- UITypeEditor.cs
- Composition.cs
- Partitioner.cs
- TemplateParser.cs
- DateTimePicker.cs
- StylusCollection.cs
- FontFamily.cs
- WorkflowDurableInstance.cs
- DataRecordInternal.cs
- RegexNode.cs
- AssemblyNameProxy.cs
- TreeNodeCollection.cs
- OutputWindow.cs
- CoreSwitches.cs
- Pen.cs
- IisTraceListener.cs
- GetChildSubtree.cs
- TextProperties.cs
- Metafile.cs
- DbConnectionInternal.cs
- LambdaCompiler.Unary.cs
- PrivilegedConfigurationManager.cs
- EntityConnection.cs
- PointConverter.cs
- RangeValidator.cs
- RichTextBoxConstants.cs
- GenerateScriptTypeAttribute.cs
- SelectionProviderWrapper.cs
- HostAdapter.cs
- InOutArgument.cs
- ReverseInheritProperty.cs
- ClientConvert.cs
- ClockGroup.cs
- AdPostCacheSubstitution.cs
- PrinterSettings.cs
- MonitoringDescriptionAttribute.cs
- DataKey.cs
- Variant.cs
- httpapplicationstate.cs
- FastPropertyAccessor.cs
- WsatConfiguration.cs
- LabelDesigner.cs
- TextSegment.cs
- QuaternionRotation3D.cs
- DoubleAnimation.cs
- AuthenticationException.cs
- Logging.cs
- pingexception.cs
- CqlBlock.cs
- InvalidEnumArgumentException.cs
- XmlWriterDelegator.cs
- ManagementObjectSearcher.cs
- MouseGestureValueSerializer.cs
- TemplateKeyConverter.cs
- KeyInterop.cs
- RecordConverter.cs
- CodeConditionStatement.cs
- DrawingContextWalker.cs
- DbCommandTree.cs
- Wizard.cs
- ProcessRequestArgs.cs
- EntityProxyFactory.cs
- SafeNativeMethods.cs
- FlowPosition.cs
- BasicExpandProvider.cs
- oledbmetadatacollectionnames.cs
- SrgsGrammarCompiler.cs
- ConfigXmlDocument.cs
- Material.cs
- Journal.cs
- CodeSnippetTypeMember.cs
- ClientApiGenerator.cs
- WindowExtensionMethods.cs
- WindowProviderWrapper.cs
- EraserBehavior.cs
- ObjectListDataBindEventArgs.cs
- SpecularMaterial.cs
- PersonalizationProvider.cs
- ProcessManager.cs
- SequenceDesigner.cs
- InProcStateClientManager.cs
- ISFTagAndGuidCache.cs
- DecimalStorage.cs
- WebReferenceOptions.cs
- SystemColors.cs
- ToolStripSeparator.cs
- CfgRule.cs
- WindowsListViewSubItem.cs
- RadioButton.cs
- UnauthorizedWebPart.cs
- keycontainerpermission.cs
- MissingManifestResourceException.cs
- GPPOINTF.cs
- NativeMethods.cs
- SafePEFileHandle.cs
- CommandID.cs