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
- OutputChannel.cs
- FontInfo.cs
- XmlQueryStaticData.cs
- RelatedImageListAttribute.cs
- EventSinkHelperWriter.cs
- ContentElement.cs
- NotFiniteNumberException.cs
- InputScope.cs
- DesignConnectionCollection.cs
- HuffCodec.cs
- ECDiffieHellmanCng.cs
- CqlWriter.cs
- CompilerCollection.cs
- CheckBoxFlatAdapter.cs
- X509IssuerSerialKeyIdentifierClause.cs
- MetadataLocation.cs
- ConfigXmlWhitespace.cs
- HwndStylusInputProvider.cs
- ModelItemKeyValuePair.cs
- SynchronizedDisposablePool.cs
- SqlUDTStorage.cs
- DataSetFieldSchema.cs
- DecimalConverter.cs
- __Error.cs
- MissingMethodException.cs
- XmlSchemaSet.cs
- NetNamedPipeSecurity.cs
- ValueUnavailableException.cs
- ObjectView.cs
- InstallerTypeAttribute.cs
- DiagnosticsConfiguration.cs
- SerializationFieldInfo.cs
- Delegate.cs
- ListViewDeleteEventArgs.cs
- ToolStripLocationCancelEventArgs.cs
- SQLResource.cs
- SystemWebCachingSectionGroup.cs
- HandoffBehavior.cs
- Emitter.cs
- TextElementCollectionHelper.cs
- LocationSectionRecord.cs
- SimpleFieldTemplateFactory.cs
- FixedTextSelectionProcessor.cs
- SchemaAttDef.cs
- IWorkflowDebuggerService.cs
- TripleDES.cs
- AuthorizationRule.cs
- ChannelReliableSession.cs
- StrokeDescriptor.cs
- Choices.cs
- ConnectionStringsExpressionBuilder.cs
- DBDataPermission.cs
- WithParamAction.cs
- RuntimeEnvironment.cs
- _LoggingObject.cs
- FaultDesigner.cs
- FastPropertyAccessor.cs
- RepeatEnumerable.cs
- ListBoxItem.cs
- SequentialUshortCollection.cs
- AudioSignalProblemOccurredEventArgs.cs
- WorkflowInstanceQuery.cs
- OrCondition.cs
- XmlObjectSerializerContext.cs
- RequestCache.cs
- RestrictedTransactionalPackage.cs
- InvalidEnumArgumentException.cs
- PhonemeConverter.cs
- Point3DCollection.cs
- ToolZoneDesigner.cs
- ComponentResourceManager.cs
- SchemaMerger.cs
- TemplateBindingExpression.cs
- UnmanagedHandle.cs
- NullableConverter.cs
- BuildResultCache.cs
- FlowPanelDesigner.cs
- Help.cs
- DocumentPageViewAutomationPeer.cs
- Stacktrace.cs
- PlaceHolder.cs
- MsmqInputSessionChannel.cs
- SafeThemeHandle.cs
- DataGridViewImageCell.cs
- AdornerPresentationContext.cs
- RepeaterItemCollection.cs
- MsmqBindingBase.cs
- ImageMapEventArgs.cs
- PropertiesTab.cs
- DurableInstanceProvider.cs
- CryptoApi.cs
- XamlClipboardData.cs
- PenContext.cs
- HtmlEncodedRawTextWriter.cs
- SQLRoleProvider.cs
- ActivityExecutionContextCollection.cs
- StringStorage.cs
- Int16KeyFrameCollection.cs
- MissingMethodException.cs
- FixedTextBuilder.cs