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
- ThicknessAnimationBase.cs
- ObsoleteAttribute.cs
- ConsoleKeyInfo.cs
- ContextStack.cs
- ValidatingPropertiesEventArgs.cs
- AccessibilityHelperForXpWin2k3.cs
- LinqDataSourceHelper.cs
- BCryptNative.cs
- Page.cs
- DetailsViewUpdateEventArgs.cs
- _AutoWebProxyScriptEngine.cs
- _ListenerResponseStream.cs
- DrawTreeNodeEventArgs.cs
- NameValueConfigurationElement.cs
- Timer.cs
- AutoFocusStyle.xaml.cs
- TransactionScope.cs
- EventInfo.cs
- HandlerBase.cs
- SpoolingTask.cs
- _Rfc2616CacheValidators.cs
- HostingEnvironment.cs
- TextWriterTraceListener.cs
- WeakReference.cs
- ILGen.cs
- EmbeddedMailObjectsCollection.cs
- NumericPagerField.cs
- WebPartHeaderCloseVerb.cs
- HandlerMappingMemo.cs
- ConfigurationValues.cs
- TextServicesProperty.cs
- DocumentViewerAutomationPeer.cs
- MimeTypeMapper.cs
- AccessViolationException.cs
- KeyManager.cs
- DefinitionBase.cs
- ImageDrawing.cs
- AvTraceFormat.cs
- UnsafeNativeMethods.cs
- DBDataPermission.cs
- SqlBuffer.cs
- ProviderUtil.cs
- IisHelper.cs
- NavigationWindow.cs
- StrokeCollection.cs
- XmlAnyElementAttributes.cs
- TraceLevelStore.cs
- JsonReader.cs
- Site.cs
- CommonBehaviorsSection.cs
- KeyGesture.cs
- WithStatement.cs
- ScriptResourceInfo.cs
- mediapermission.cs
- DesignerTextBoxAdapter.cs
- TableProviderWrapper.cs
- PolyBezierSegment.cs
- CommandCollectionEditor.cs
- BuildDependencySet.cs
- SystemThemeKey.cs
- NumberSubstitution.cs
- PopupRootAutomationPeer.cs
- DynamicRenderer.cs
- FontSourceCollection.cs
- RenderContext.cs
- SrgsElementFactory.cs
- SynchronizationContext.cs
- ValueSerializer.cs
- securitycriticaldataformultiplegetandset.cs
- ArgumentsParser.cs
- AutomationPattern.cs
- ExpandableObjectConverter.cs
- StringResourceManager.cs
- Viewport3DAutomationPeer.cs
- FilteredDataSetHelper.cs
- ExtenderProvidedPropertyAttribute.cs
- MessagingDescriptionAttribute.cs
- baseshape.cs
- StateMachineSubscription.cs
- InputBindingCollection.cs
- FrameworkElement.cs
- EraserBehavior.cs
- LongValidator.cs
- CheckBoxPopupAdapter.cs
- BypassElement.cs
- DataGridTextBox.cs
- CheckBoxPopupAdapter.cs
- BaseProcessor.cs
- XamlStyleSerializer.cs
- XMLSchema.cs
- PreservationFileReader.cs
- CornerRadius.cs
- MultiplexingFormatMapping.cs
- NumberFunctions.cs
- CompensatableSequenceActivity.cs
- FixedDocumentSequencePaginator.cs
- TreeNodeEventArgs.cs
- StateItem.cs
- RawContentTypeMapper.cs
- Journaling.cs