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
- CanExecuteRoutedEventArgs.cs
- CqlErrorHelper.cs
- Expression.cs
- TrackingProfileCache.cs
- CodeDesigner.cs
- WmlCalendarAdapter.cs
- TypeToken.cs
- Publisher.cs
- XmlAnyElementAttributes.cs
- SqlUdtInfo.cs
- DataGridLengthConverter.cs
- ConcurrentBag.cs
- RowToFieldTransformer.cs
- ListInitExpression.cs
- DataGridViewRowsRemovedEventArgs.cs
- PriorityBindingExpression.cs
- CachedTypeface.cs
- DataMemberAttribute.cs
- OutputCacheSection.cs
- WsatServiceCertificate.cs
- PreProcessInputEventArgs.cs
- ElapsedEventArgs.cs
- NetStream.cs
- GeneralTransform3D.cs
- FormViewActionList.cs
- GenericAuthenticationEventArgs.cs
- MethodBuilder.cs
- ControlUtil.cs
- HttpWebRequestElement.cs
- HMACSHA1.cs
- SwitchElementsCollection.cs
- CompositionCommandSet.cs
- UserPreferenceChangedEventArgs.cs
- IgnoreSection.cs
- Memoizer.cs
- ItemDragEvent.cs
- LogArchiveSnapshot.cs
- ConstraintConverter.cs
- Header.cs
- DbParameterHelper.cs
- DataMember.cs
- GeneralTransform3D.cs
- CommandPlan.cs
- ChangeTracker.cs
- WebPartConnectionsCloseVerb.cs
- CqlLexerHelpers.cs
- XmlUtil.cs
- UnionExpr.cs
- Wildcard.cs
- DefaultHttpHandler.cs
- VisualBrush.cs
- ListViewGroupConverter.cs
- BitmapCacheBrush.cs
- StrokeRenderer.cs
- DataSourceCacheDurationConverter.cs
- GregorianCalendar.cs
- TargetException.cs
- ScrollBarRenderer.cs
- MasterPageParser.cs
- DelegatingHeader.cs
- PenContext.cs
- RuleRef.cs
- EntityDataReader.cs
- TextDpi.cs
- AssociationTypeEmitter.cs
- CodeCompiler.cs
- PopupRootAutomationPeer.cs
- GenericTextProperties.cs
- ActivationArguments.cs
- DbProviderFactories.cs
- PerfCounters.cs
- SchemaImporterExtensionElementCollection.cs
- IProvider.cs
- Point.cs
- X509SecurityTokenAuthenticator.cs
- BuilderPropertyEntry.cs
- DetailsViewModeEventArgs.cs
- DispatchWrapper.cs
- UserUseLicenseDictionaryLoader.cs
- CommentEmitter.cs
- UnionCqlBlock.cs
- LinkClickEvent.cs
- Processor.cs
- WhitespaceRule.cs
- CompilerState.cs
- ImplicitInputBrush.cs
- VirtualDirectoryMappingCollection.cs
- OdbcConnectionHandle.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- ISO2022Encoding.cs
- RegistryConfigurationProvider.cs
- MethodToken.cs
- XmlSchemaAttributeGroup.cs
- ImageList.cs
- TypographyProperties.cs
- LocalizationComments.cs
- UniqueIdentifierService.cs
- HandlerBase.cs
- VectorValueSerializer.cs
- XmlSchemaElement.cs