Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWeb / Server / System / Data / Services / Providers / ServiceOperationParameter.cs / 1 / ServiceOperationParameter.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Provides a type to represent parameter information for service
// operations.
//
//
// @owner [....]
//---------------------------------------------------------------------
namespace System.Data.Services.Providers
{
using System;
using System.Diagnostics;
/// Use this type to represent a parameter on a service operation.
[DebuggerVisualizer("ServiceOperationParameter={Name}")]
internal class ServiceOperationParameter
{
/// Parameter name.
private readonly string name;
/// Parameter type.
private readonly Type type;
///
/// Initializes a new .
///
/// Name of parameter.
/// Type of parameter values.
public ServiceOperationParameter(string name, Type type)
{
Debug.Assert(name != null, "name != null");
Debug.Assert(type != null, "type != null");
this.name = name;
this.type = type;
}
/// Name of parameter.
public string Name
{
get { return this.name; }
}
/// Type of parameter values.
public Type Type
{
get { return this.type; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Provides a type to represent parameter information for service
// operations.
//
//
// @owner [....]
//---------------------------------------------------------------------
namespace System.Data.Services.Providers
{
using System;
using System.Diagnostics;
/// Use this type to represent a parameter on a service operation.
[DebuggerVisualizer("ServiceOperationParameter={Name}")]
internal class ServiceOperationParameter
{
/// Parameter name.
private readonly string name;
/// Parameter type.
private readonly Type type;
///
/// Initializes a new .
///
/// Name of parameter.
/// Type of parameter values.
public ServiceOperationParameter(string name, Type type)
{
Debug.Assert(name != null, "name != null");
Debug.Assert(type != null, "type != null");
this.name = name;
this.type = type;
}
/// Name of parameter.
public string Name
{
get { return this.name; }
}
/// Type of parameter values.
public Type Type
{
get { return this.type; }
}
}
}
// 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
- _IPv6Address.cs
- BamlResourceSerializer.cs
- ToolStripLabel.cs
- NameSpaceExtractor.cs
- TTSEvent.cs
- HwndMouseInputProvider.cs
- AttachmentService.cs
- Shared.cs
- KeyEvent.cs
- SafeFileMapViewHandle.cs
- ListItem.cs
- sqlser.cs
- AssemblyResourceLoader.cs
- UInt16Storage.cs
- Version.cs
- PerformanceCountersElement.cs
- DocumentOrderQuery.cs
- CapiSafeHandles.cs
- EncoderFallback.cs
- PrimitiveSchema.cs
- BindMarkupExtensionSerializer.cs
- DecoderNLS.cs
- Calendar.cs
- ContentDisposition.cs
- ColumnHeaderCollectionEditor.cs
- DBNull.cs
- CultureInfoConverter.cs
- QEncodedStream.cs
- basenumberconverter.cs
- FreezableDefaultValueFactory.cs
- NamespaceList.cs
- StreamSecurityUpgradeProvider.cs
- OneOfElement.cs
- CodeConditionStatement.cs
- UIElement.cs
- PerformanceCounterPermissionEntry.cs
- GeneralTransformGroup.cs
- FieldToken.cs
- InvokeProviderWrapper.cs
- GridItemPatternIdentifiers.cs
- shaperfactoryquerycacheentry.cs
- EntityProviderFactory.cs
- DateTime.cs
- RNGCryptoServiceProvider.cs
- ColorConvertedBitmap.cs
- TypeConverterHelper.cs
- ReferencedAssemblyResolver.cs
- UseAttributeSetsAction.cs
- DeferredSelectedIndexReference.cs
- EmptyControlCollection.cs
- LazyInitializer.cs
- DetailsViewAutoFormat.cs
- ReflectPropertyDescriptor.cs
- PageTheme.cs
- WebHttpSecurityModeHelper.cs
- SQLBinary.cs
- FullTextLine.cs
- BooleanFunctions.cs
- DataBindingCollection.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DesignerSerializationOptionsAttribute.cs
- FormViewModeEventArgs.cs
- NumberFormatInfo.cs
- TableLayoutPanelBehavior.cs
- _SingleItemRequestCache.cs
- VectorCollectionConverter.cs
- CompressionTransform.cs
- DisplayMemberTemplateSelector.cs
- DrawingCollection.cs
- EdmToObjectNamespaceMap.cs
- CellConstant.cs
- SystemGatewayIPAddressInformation.cs
- BindingExpressionUncommonField.cs
- SoapAttributeOverrides.cs
- WebScriptMetadataFormatter.cs
- DBSqlParserColumnCollection.cs
- ContractCodeDomInfo.cs
- PassportIdentity.cs
- NoneExcludedImageIndexConverter.cs
- XomlCompilerError.cs
- OrderByQueryOptionExpression.cs
- DeclarativeCatalogPart.cs
- GridViewRow.cs
- UInt16Storage.cs
- ConnectionConsumerAttribute.cs
- SortKey.cs
- BrowserDefinition.cs
- smtppermission.cs
- XpsFixedPageReaderWriter.cs
- InternalSendMessage.cs
- MouseActionValueSerializer.cs
- SHA512Managed.cs
- UnmanagedMarshal.cs
- ConstNode.cs
- NamespaceListProperty.cs
- X509SecurityTokenAuthenticator.cs
- PenContext.cs
- DragDrop.cs
- FormsAuthenticationModule.cs
- TemplateInstanceAttribute.cs