Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- QuestionEventArgs.cs
- WebPartVerbsEventArgs.cs
- Opcode.cs
- MissingManifestResourceException.cs
- CodeBinaryOperatorExpression.cs
- Console.cs
- XmlNamespaceManager.cs
- TemplatedMailWebEventProvider.cs
- DataGridViewColumnCollectionEditor.cs
- DataGridViewRowPostPaintEventArgs.cs
- DataBindingExpressionBuilder.cs
- XmlName.cs
- CompressionTransform.cs
- TextRunProperties.cs
- FastPropertyAccessor.cs
- XmlSchemaObjectCollection.cs
- LocationInfo.cs
- ClientConfigPaths.cs
- InvokeAction.cs
- GlobalProxySelection.cs
- HttpDictionary.cs
- HasCopySemanticsAttribute.cs
- IsolationInterop.cs
- ZipPackagePart.cs
- Splitter.cs
- WebScriptMetadataMessage.cs
- LayoutDump.cs
- FormatterServices.cs
- CharEnumerator.cs
- SqlDependencyUtils.cs
- InvalidDocumentContentsException.cs
- PageHandlerFactory.cs
- SingleKeyFrameCollection.cs
- FileDialog_Vista.cs
- TextSearch.cs
- HandleExceptionArgs.cs
- SqlHelper.cs
- SessionPageStateSection.cs
- BooleanSwitch.cs
- RegexInterpreter.cs
- TargetInvocationException.cs
- ReadOnlyHierarchicalDataSourceView.cs
- InvalidateEvent.cs
- ToolTipService.cs
- AttachmentService.cs
- EnumConverter.cs
- Size.cs
- Grant.cs
- DataControlFieldHeaderCell.cs
- LogicalTreeHelper.cs
- DataGridColumnFloatingHeader.cs
- FunctionDetailsReader.cs
- X509Certificate.cs
- ResourceManagerWrapper.cs
- KeyFrames.cs
- DescendentsWalkerBase.cs
- MailSettingsSection.cs
- FileUtil.cs
- SlotInfo.cs
- TerminatorSinks.cs
- DBCommandBuilder.cs
- PromptEventArgs.cs
- CacheVirtualItemsEvent.cs
- mil_commands.cs
- InvalidStoreProtectionKeyException.cs
- ResourceManagerWrapper.cs
- NameHandler.cs
- WSSecurityOneDotZeroSendSecurityHeader.cs
- DefaultProxySection.cs
- SystemUnicastIPAddressInformation.cs
- TripleDESCryptoServiceProvider.cs
- DirectoryObjectSecurity.cs
- CommandHelper.cs
- StoragePropertyMapping.cs
- DrawingGroup.cs
- UiaCoreApi.cs
- ModelChangedEventArgsImpl.cs
- JapaneseCalendar.cs
- CheckBoxField.cs
- RenderDataDrawingContext.cs
- XAMLParseException.cs
- WebResourceUtil.cs
- Run.cs
- EncryptedXml.cs
- ClosableStream.cs
- DataProviderNameConverter.cs
- Convert.cs
- GetImportedCardRequest.cs
- RtType.cs
- TreeNodeBinding.cs
- SID.cs
- OutputCacheSection.cs
- serverconfig.cs
- SimpleType.cs
- Rfc2898DeriveBytes.cs
- KeyValueConfigurationCollection.cs
- ToolStripPanelCell.cs
- CapiSymmetricAlgorithm.cs
- printdlgexmarshaler.cs
- CroppedBitmap.cs