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
- HtmlInputText.cs
- CachedPathData.cs
- MarkupObject.cs
- DiscoveryProxy.cs
- _CookieModule.cs
- ConstrainedDataObject.cs
- ByteStreamGeometryContext.cs
- ResXResourceReader.cs
- WebAdminConfigurationHelper.cs
- VariableAction.cs
- HuffmanTree.cs
- StylusButtonCollection.cs
- FixedPage.cs
- Themes.cs
- SourceFilter.cs
- Binding.cs
- AuthenticateEventArgs.cs
- InfoCardArgumentException.cs
- PathFigure.cs
- APCustomTypeDescriptor.cs
- KeyValueConfigurationCollection.cs
- PropertyGeneratedEventArgs.cs
- VisualBasicValue.cs
- oledbmetadatacollectionnames.cs
- BinaryObjectReader.cs
- Config.cs
- ObjectAnimationBase.cs
- InvokeBase.cs
- FlowDecision.cs
- Repeater.cs
- ControlCommandSet.cs
- SystemWebExtensionsSectionGroup.cs
- ComponentDispatcherThread.cs
- CodeAccessSecurityEngine.cs
- PrintDialog.cs
- Pkcs7Signer.cs
- WindowsListViewGroupHelper.cs
- UxThemeWrapper.cs
- BitmapSizeOptions.cs
- JsonServiceDocumentSerializer.cs
- Property.cs
- TagMapCollection.cs
- AdornerHitTestResult.cs
- ObjectDataSourceSelectingEventArgs.cs
- DoubleCollectionValueSerializer.cs
- SubpageParaClient.cs
- UpWmlPageAdapter.cs
- JavaScriptObjectDeserializer.cs
- ProfessionalColors.cs
- OraclePermissionAttribute.cs
- SignedXml.cs
- CodeAssignStatement.cs
- HashCodeCombiner.cs
- CalculatedColumn.cs
- MobileFormsAuthentication.cs
- log.cs
- IdnMapping.cs
- ExpandoObject.cs
- UnionCqlBlock.cs
- EmptyEnumerator.cs
- InvalidFilterCriteriaException.cs
- DataGrid.cs
- UIPropertyMetadata.cs
- MouseBinding.cs
- ObjectDataProvider.cs
- ListViewPagedDataSource.cs
- ClientSideQueueItem.cs
- MenuCommand.cs
- TypeConstant.cs
- Error.cs
- IArgumentProvider.cs
- SchemaTableColumn.cs
- SuppressIldasmAttribute.cs
- WmiPutTraceRecord.cs
- ToolboxComponentsCreatedEventArgs.cs
- ProxyGenerator.cs
- WriteLine.cs
- CookieParameter.cs
- UIElement.cs
- ChannelDispatcherCollection.cs
- DBBindings.cs
- EntityTransaction.cs
- CqlParser.cs
- DataObject.cs
- AdCreatedEventArgs.cs
- clipboard.cs
- SessionStateItemCollection.cs
- BufferModesCollection.cs
- DirectoryInfo.cs
- Rect3D.cs
- WebContext.cs
- MenuItem.cs
- RoleBoolean.cs
- DetailsViewModeEventArgs.cs
- GuidConverter.cs
- Convert.cs
- XsdBuildProvider.cs
- DataContractFormatAttribute.cs
- TreeBuilderXamlTranslator.cs
- ILGen.cs