Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- BamlTreeMap.cs
- XsdDataContractImporter.cs
- GeneralTransform3DGroup.cs
- StreamGeometry.cs
- ReachPrintTicketSerializer.cs
- LogicalExpr.cs
- TextTreeUndo.cs
- EmptyQuery.cs
- HMACSHA384.cs
- StringPropertyBuilder.cs
- DispatcherTimer.cs
- ColumnMapProcessor.cs
- DoubleAnimation.cs
- ResolveNextArgumentWorkItem.cs
- InlineObject.cs
- BlobPersonalizationState.cs
- StringSorter.cs
- XmlQueryContext.cs
- BamlLocalizabilityResolver.cs
- HtmlEmptyTagControlBuilder.cs
- Assembly.cs
- RegisteredDisposeScript.cs
- ListenerConnectionModeReader.cs
- DeviceContext.cs
- Hex.cs
- Keyboard.cs
- MobileControl.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- ImageResources.Designer.cs
- DesignerSerializationOptionsAttribute.cs
- SafeNativeHandle.cs
- ThreadAttributes.cs
- SafeSecurityHandles.cs
- DiscreteKeyFrames.cs
- PropertyTabAttribute.cs
- ObjectDataSourceDesigner.cs
- XmlName.cs
- RadialGradientBrush.cs
- Geometry.cs
- HttpValueCollection.cs
- PageAsyncTaskManager.cs
- PointLightBase.cs
- WebScriptClientGenerator.cs
- HttpResponseHeader.cs
- SecureStringHasher.cs
- wmiprovider.cs
- RC2CryptoServiceProvider.cs
- HostedHttpRequestAsyncResult.cs
- FactoryRecord.cs
- ContentFilePart.cs
- LifetimeServices.cs
- DataGridPagerStyle.cs
- unsafeIndexingFilterStream.cs
- ClockController.cs
- ImageIndexEditor.cs
- TemplateField.cs
- HttpRequestMessageProperty.cs
- ListSortDescriptionCollection.cs
- Boolean.cs
- serverconfig.cs
- CodeTypeDelegate.cs
- FragmentNavigationEventArgs.cs
- WindowsButton.cs
- _UriSyntax.cs
- AssemblyInfo.cs
- ParameterReplacerVisitor.cs
- DataControlFieldCollection.cs
- FixedPageProcessor.cs
- SourceInterpreter.cs
- CodeMemberProperty.cs
- BinHexDecoder.cs
- SystemFonts.cs
- ConnectionStringSettings.cs
- Stylus.cs
- NativeMethods.cs
- StreamFormatter.cs
- ScriptModule.cs
- TemporaryBitmapFile.cs
- CodeCastExpression.cs
- ClickablePoint.cs
- Constraint.cs
- ISO2022Encoding.cs
- ConnectionProviderAttribute.cs
- TextBreakpoint.cs
- FileDialog_Vista.cs
- TimeSpan.cs
- SmiSettersStream.cs
- StyleSheetComponentEditor.cs
- externdll.cs
- ListBoxItemWrapperAutomationPeer.cs
- RecommendedAsConfigurableAttribute.cs
- MethodToken.cs
- LocalizationComments.cs
- Switch.cs
- StaticSiteMapProvider.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- XPathNavigator.cs
- EntityDataSourceView.cs
- SamlAudienceRestrictionCondition.cs
- RecognizerInfo.cs