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
- Page.cs
- UIElementParagraph.cs
- TextEndOfParagraph.cs
- WebPartPersonalization.cs
- CollectionViewGroupInternal.cs
- PageAdapter.cs
- UpdateEventArgs.cs
- AssemblyInfo.cs
- StringUtil.cs
- MouseButton.cs
- DocumentsTrace.cs
- RecordsAffectedEventArgs.cs
- IntranetCredentialPolicy.cs
- CodeComment.cs
- ReflectionUtil.cs
- AcceleratedTokenProvider.cs
- NodeFunctions.cs
- QualifierSet.cs
- HttpClientProtocol.cs
- EntityTypeEmitter.cs
- TableProviderWrapper.cs
- DataAdapter.cs
- DataSourceView.cs
- SelectQueryOperator.cs
- NotifyCollectionChangedEventArgs.cs
- DecoderFallback.cs
- TextChangedEventArgs.cs
- WindowsSecurityToken.cs
- Visitors.cs
- ReliableSession.cs
- ImmutableObjectAttribute.cs
- CodeMemberMethod.cs
- BrowserDefinitionCollection.cs
- RecognizerBase.cs
- XmlUtil.cs
- InternalControlCollection.cs
- InheritablePropertyChangeInfo.cs
- _ConnectStream.cs
- ServiceDefaults.cs
- SecurityContext.cs
- RouteParameter.cs
- ModulesEntry.cs
- DbDataRecord.cs
- path.cs
- CodeCompileUnit.cs
- _NativeSSPI.cs
- TargetControlTypeCache.cs
- SelectionRange.cs
- DetailsViewDesigner.cs
- Visual.cs
- BitmapEffectCollection.cs
- ErrorRuntimeConfig.cs
- XmlnsCache.cs
- MembershipPasswordException.cs
- ControllableStoryboardAction.cs
- MultiAsyncResult.cs
- StaticExtension.cs
- ASCIIEncoding.cs
- NameValuePermission.cs
- HuffmanTree.cs
- DiscreteKeyFrames.cs
- OracleParameterCollection.cs
- ComplexLine.cs
- HandlerBase.cs
- SafeUserTokenHandle.cs
- SafeFreeMibTable.cs
- HeaderCollection.cs
- VersionedStream.cs
- AsymmetricKeyExchangeFormatter.cs
- CompressEmulationStream.cs
- TableProviderWrapper.cs
- odbcmetadatacollectionnames.cs
- OperationResponse.cs
- VideoDrawing.cs
- GeometryDrawing.cs
- ExtensionElementCollection.cs
- ProxyWebPartManager.cs
- HttpCapabilitiesEvaluator.cs
- StorageEntityTypeMapping.cs
- NumericUpDownAcceleration.cs
- CellNormalizer.cs
- MaskPropertyEditor.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- LinkLabel.cs
- CalendarButtonAutomationPeer.cs
- Matrix3D.cs
- DelayLoadType.cs
- ResXResourceReader.cs
- Policy.cs
- BindValidationContext.cs
- IpcChannelHelper.cs
- XmlMemberMapping.cs
- ConnectionStringsExpressionBuilder.cs
- PermissionListSet.cs
- AutoGeneratedFieldProperties.cs
- String.cs
- ZipQueryOperator.cs
- ArcSegment.cs
- QueryContinueDragEvent.cs
- NamespaceEmitter.cs