Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- DaylightTime.cs
- Parser.cs
- SiteIdentityPermission.cs
- HttpModuleActionCollection.cs
- ObjectListItemCollection.cs
- TimeEnumHelper.cs
- BufferModesCollection.cs
- TraceSection.cs
- TextTreeDeleteContentUndoUnit.cs
- OdbcReferenceCollection.cs
- StyleSelector.cs
- Label.cs
- Workspace.cs
- TreeNodeClickEventArgs.cs
- PerspectiveCamera.cs
- QuaternionAnimation.cs
- TableStyle.cs
- CallSite.cs
- XmlAttributeCollection.cs
- PageAsyncTaskManager.cs
- SubtreeProcessor.cs
- ConfigPathUtility.cs
- CoTaskMemHandle.cs
- IdnElement.cs
- SchemaContext.cs
- Positioning.cs
- Constraint.cs
- Connector.xaml.cs
- AuthenticationConfig.cs
- XamlTemplateSerializer.cs
- LazyTextWriterCreator.cs
- EntityStoreSchemaFilterEntry.cs
- DataControlLinkButton.cs
- QueryCursorEventArgs.cs
- ConfigurationFileMap.cs
- SymmetricKeyWrap.cs
- OracleParameter.cs
- NonVisualControlAttribute.cs
- MobileControl.cs
- EventEntry.cs
- CompoundFileReference.cs
- DispatcherHooks.cs
- TableItemPatternIdentifiers.cs
- InvokeMethod.cs
- ValuePatternIdentifiers.cs
- StorageTypeMapping.cs
- ToolStripActionList.cs
- Constants.cs
- Stack.cs
- MultiAsyncResult.cs
- _NtlmClient.cs
- WindowsScroll.cs
- Label.cs
- InvariantComparer.cs
- XmlSchemaGroupRef.cs
- ToolStripPanelRenderEventArgs.cs
- FocusWithinProperty.cs
- MenuItem.cs
- XslException.cs
- ErrorWrapper.cs
- CompareInfo.cs
- DateTimeConverter2.cs
- DetailsViewPageEventArgs.cs
- ManualResetEvent.cs
- CustomAttributeSerializer.cs
- HandleScope.cs
- DataMisalignedException.cs
- Bezier.cs
- UncommonField.cs
- RoutingService.cs
- DataTemplateKey.cs
- AccessibilityHelperForXpWin2k3.cs
- LiteralSubsegment.cs
- x509utils.cs
- HtmlInputCheckBox.cs
- EmitterCache.cs
- DesignerTransactionCloseEvent.cs
- WebControlAdapter.cs
- BackStopAuthenticationModule.cs
- WindowsImpersonationContext.cs
- PhoneCall.cs
- BaseProcessor.cs
- InputProcessorProfilesLoader.cs
- ScriptRegistrationManager.cs
- ChannelSinkStacks.cs
- RegexParser.cs
- PropertyGrid.cs
- SqlDataSourceTableQuery.cs
- path.cs
- ProcessInputEventArgs.cs
- ProcessInputEventArgs.cs
- TryExpression.cs
- ClientApiGenerator.cs
- _FtpControlStream.cs
- VectorCollectionValueSerializer.cs
- TypeSystem.cs
- SchemaAttDef.cs
- SqlCacheDependencySection.cs
- AsymmetricCryptoHandle.cs
- InvalidPrinterException.cs