Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / xsp / System / Web / Extensions / Script / Services / WebServiceParameterData.cs / 1 / WebServiceParameterData.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.Reflection; namespace System.Web.Script.Services { internal class WebServiceParameterData { private ParameterInfo _param; private int _index; // Index of the parameter in the method private string _paramName; private Type _paramType; internal WebServiceParameterData(ParameterInfo param, int index) { _param = param; _index = index; } // This constructor is only used by indigo internal WebServiceParameterData(string paramName, Type paramType, int index) { _paramName = paramName; _paramType = paramType; _index = index; } internal int Index { get { return _index; } } internal ParameterInfo ParameterInfo { get { return _param; } } internal string ParameterName { get { if (_param != null) { return _param.Name; } else { return _paramName; } } } internal Type ParameterType { get { if (_param != null) { return _param.ParameterType; } else { return _paramType; } } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.Reflection; namespace System.Web.Script.Services { internal class WebServiceParameterData { private ParameterInfo _param; private int _index; // Index of the parameter in the method private string _paramName; private Type _paramType; internal WebServiceParameterData(ParameterInfo param, int index) { _param = param; _index = index; } // This constructor is only used by indigo internal WebServiceParameterData(string paramName, Type paramType, int index) { _paramName = paramName; _paramType = paramType; _index = index; } internal int Index { get { return _index; } } internal ParameterInfo ParameterInfo { get { return _param; } } internal string ParameterName { get { if (_param != null) { return _param.Name; } else { return _paramName; } } } internal Type ParameterType { get { if (_param != null) { return _param.ParameterType; } else { return _paramType; } } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MembershipUser.cs
- SchemaElementLookUpTable.cs
- PackageRelationship.cs
- QuaternionIndependentAnimationStorage.cs
- HtmlTableCell.cs
- DrawingGroupDrawingContext.cs
- TemplateBindingExtensionConverter.cs
- VisualCollection.cs
- PrimaryKeyTypeConverter.cs
- StructuredTypeInfo.cs
- HotSpotCollection.cs
- ExtensionSimplifierMarkupObject.cs
- NullableLongAverageAggregationOperator.cs
- DataGridViewCellValidatingEventArgs.cs
- AudioException.cs
- ComboBoxAutomationPeer.cs
- SequenceQuery.cs
- SqlServer2KCompatibilityAnnotation.cs
- DocumentXPathNavigator.cs
- XamlDesignerSerializationManager.cs
- FilterElement.cs
- ParallelLoopState.cs
- NativeMethods.cs
- CharConverter.cs
- HttpApplication.cs
- DbConnectionInternal.cs
- TemplatePartAttribute.cs
- ContractsBCL.cs
- CommandDevice.cs
- DataGridViewRowCollection.cs
- StyleCollection.cs
- Control.cs
- NameValueConfigurationElement.cs
- NavigationPropertyEmitter.cs
- QilDataSource.cs
- CodeIndexerExpression.cs
- ResXBuildProvider.cs
- QuaternionAnimationBase.cs
- CalloutQueueItem.cs
- XmlSerializationWriter.cs
- SystemIcmpV6Statistics.cs
- Region.cs
- AsyncResult.cs
- FormattedText.cs
- DBParameter.cs
- MessageDecoder.cs
- URLAttribute.cs
- odbcmetadatacolumnnames.cs
- Msec.cs
- PeerNameRecordCollection.cs
- EntityType.cs
- CodeAssignStatement.cs
- SqlUDTStorage.cs
- Button.cs
- AutomationPattern.cs
- TextTreeFixupNode.cs
- MultiAsyncResult.cs
- EnumBuilder.cs
- ObjectSet.cs
- ExpressionList.cs
- mil_sdk_version.cs
- HttpModuleAction.cs
- ObjectSet.cs
- ClassHandlersStore.cs
- WebPartManagerInternals.cs
- ResourceDisplayNameAttribute.cs
- BitmapEncoder.cs
- ApplicationFileCodeDomTreeGenerator.cs
- DataSourceCache.cs
- ReplacementText.cs
- _TimerThread.cs
- IPEndPoint.cs
- XmlEventCache.cs
- DataGridViewCellStyle.cs
- XmlLanguageConverter.cs
- CancelAsyncOperationRequest.cs
- ExceptionTranslationTable.cs
- BinHexEncoder.cs
- ResourcePart.cs
- BitmapEffectDrawingContent.cs
- DataViewManager.cs
- SelectionPatternIdentifiers.cs
- XmlDataLoader.cs
- FontNameEditor.cs
- X509CertificateRecipientClientCredential.cs
- StructuralComparisons.cs
- WindowsGraphics.cs
- HttpMethodConstraint.cs
- SQLInt16Storage.cs
- DataGridViewButtonColumn.cs
- PointHitTestResult.cs
- WinFormsSecurity.cs
- ReliableSessionBindingElementImporter.cs
- TextRunCacheImp.cs
- BrowserCapabilitiesCodeGenerator.cs
- Privilege.cs
- ObjectDataProvider.cs
- DataTableNewRowEvent.cs
- HelpExampleGenerator.cs
- SHA384CryptoServiceProvider.cs