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
- ValueTable.cs
- SqlConnectionPoolGroupProviderInfo.cs
- SeekStoryboard.cs
- BufferModeSettings.cs
- DynamicPropertyHolder.cs
- DeflateStream.cs
- XPathDocument.cs
- CompilerResults.cs
- DispatchChannelSink.cs
- Selection.cs
- webeventbuffer.cs
- TreeNodeMouseHoverEvent.cs
- WorkerRequest.cs
- UseManagedPresentationBindingElementImporter.cs
- DrawingState.cs
- SqlGatherConsumedAliases.cs
- TypeTypeConverter.cs
- QueryCacheKey.cs
- ObjectTag.cs
- SystemIcons.cs
- EntryWrittenEventArgs.cs
- WebBrowserProgressChangedEventHandler.cs
- HtmlButton.cs
- GenericWebPart.cs
- LayoutInformation.cs
- ParallelTimeline.cs
- FastEncoderWindow.cs
- XPathNodeList.cs
- WeakEventTable.cs
- Visitor.cs
- ProxyWebPartConnectionCollection.cs
- UriTemplateTrieNode.cs
- DesignerMetadata.cs
- SecurityKeyIdentifier.cs
- BitVector32.cs
- Ref.cs
- WarningException.cs
- PointAnimationBase.cs
- Compiler.cs
- DatagridviewDisplayedBandsData.cs
- CodeMemberMethod.cs
- ObfuscateAssemblyAttribute.cs
- Regex.cs
- VectorAnimationBase.cs
- LogRestartAreaEnumerator.cs
- CodeArrayIndexerExpression.cs
- httpserverutility.cs
- AlternateView.cs
- FileClassifier.cs
- Descriptor.cs
- RelatedCurrencyManager.cs
- DecoderExceptionFallback.cs
- UpdateCommandGenerator.cs
- ColumnResult.cs
- MachineKey.cs
- TableStyle.cs
- SymbolEqualComparer.cs
- ExtensionDataObject.cs
- SourceFileInfo.cs
- RuntimeArgumentHandle.cs
- WebPartConnectionsCancelVerb.cs
- SelectedPathEditor.cs
- WorkflowDesignerMessageFilter.cs
- SelectionEditor.cs
- ProtectedConfigurationProviderCollection.cs
- ProfilePropertySettings.cs
- DataBindEngine.cs
- RunInstallerAttribute.cs
- SHA512.cs
- DependencyPropertyConverter.cs
- ThousandthOfEmRealPoints.cs
- CollectionExtensions.cs
- ServiceModelExtensionElement.cs
- RouteValueExpressionBuilder.cs
- ProviderUtil.cs
- GridLength.cs
- InputLanguage.cs
- OleDbPermission.cs
- SqlServices.cs
- Timer.cs
- RelatedImageListAttribute.cs
- CloseCryptoHandleRequest.cs
- BinaryObjectInfo.cs
- MailWebEventProvider.cs
- LocalizabilityAttribute.cs
- ListBindingHelper.cs
- XNameTypeConverter.cs
- ConfigurationLoaderException.cs
- AssemblyCache.cs
- DataGridViewBindingCompleteEventArgs.cs
- MessageEncodingBindingElementImporter.cs
- Rotation3DAnimationUsingKeyFrames.cs
- SelfIssuedAuthAsymmetricKey.cs
- PackageDigitalSignature.cs
- Region.cs
- TextPenaltyModule.cs
- DataSourceControl.cs
- SmtpException.cs
- TraceUtils.cs
- Baml2006ReaderContext.cs