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
- AbandonedMutexException.cs
- NotifyCollectionChangedEventArgs.cs
- DecimalKeyFrameCollection.cs
- XmlTextReader.cs
- DefaultTypeArgumentAttribute.cs
- TextChangedEventArgs.cs
- HttpListenerRequest.cs
- TraceLevelHelper.cs
- XmlAttributes.cs
- smtppermission.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- HtmlWindow.cs
- PbrsForward.cs
- ClientScriptManager.cs
- ReflectTypeDescriptionProvider.cs
- DynamicActivityProperty.cs
- RootBuilder.cs
- MultiByteCodec.cs
- DoubleCollection.cs
- GlyphInfoList.cs
- ParserStreamGeometryContext.cs
- XmlILTrace.cs
- WorkflowQueuingService.cs
- XamlVector3DCollectionSerializer.cs
- HistoryEventArgs.cs
- XmlDataProvider.cs
- GenericFlowSwitchHelper.cs
- Expression.cs
- IPHostEntry.cs
- SingleAnimationBase.cs
- Container.cs
- PasswordRecovery.cs
- StickyNoteContentControl.cs
- CacheOutputQuery.cs
- DefaultValueAttribute.cs
- BuilderPropertyEntry.cs
- BindingNavigator.cs
- DbSourceCommand.cs
- LogRestartAreaEnumerator.cs
- XPathPatternParser.cs
- ExtendedPropertiesHandler.cs
- EventWaitHandleSecurity.cs
- EncoderParameter.cs
- BufferedOutputStream.cs
- HtmlControl.cs
- TreeView.cs
- ProtocolElementCollection.cs
- ISAPIWorkerRequest.cs
- PersistStreamTypeWrapper.cs
- DataColumnChangeEvent.cs
- SocketException.cs
- RunClient.cs
- WebRequest.cs
- XmlCodeExporter.cs
- TemplateBindingExtension.cs
- ReadOnlyPermissionSet.cs
- AutoCompleteStringCollection.cs
- _ProxyChain.cs
- ItemsControl.cs
- EncodingDataItem.cs
- TrackBar.cs
- MetadataUtil.cs
- MobileListItemCollection.cs
- SynchronizationScope.cs
- precedingsibling.cs
- InputBinding.cs
- TablePatternIdentifiers.cs
- AsyncDataRequest.cs
- MethodCallExpression.cs
- WorkItem.cs
- CompilationSection.cs
- Stack.cs
- DecoderBestFitFallback.cs
- CaseDesigner.xaml.cs
- ScriptComponentDescriptor.cs
- DrawingVisualDrawingContext.cs
- WorkflowInstanceTerminatedRecord.cs
- ServiceChannelProxy.cs
- HeaderUtility.cs
- ProgramPublisher.cs
- Debug.cs
- CodeNamespaceImportCollection.cs
- MutexSecurity.cs
- HelpKeywordAttribute.cs
- ProjectionCamera.cs
- MenuRendererStandards.cs
- AspNetRouteServiceHttpHandler.cs
- NotImplementedException.cs
- OleDbStruct.cs
- ClientTarget.cs
- PeerNodeTraceRecord.cs
- HtmlShim.cs
- SafeFileMappingHandle.cs
- VisualStateChangedEventArgs.cs
- CurrentChangedEventManager.cs
- CodeDOMUtility.cs
- OdbcError.cs
- FreezableCollection.cs
- PointLight.cs
- SqlRewriteScalarSubqueries.cs