Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- RectAnimation.cs
- SqlCacheDependencyDatabase.cs
- SystemIPv4InterfaceProperties.cs
- CorrelationToken.cs
- CalendarTable.cs
- FormViewDeletedEventArgs.cs
- WebPartConnectionCollection.cs
- Cursor.cs
- SafeSecurityHelper.cs
- BaseDataBoundControl.cs
- RemoveStoryboard.cs
- SolidColorBrush.cs
- CrossSiteScriptingValidation.cs
- KeysConverter.cs
- DataFieldCollectionEditor.cs
- ZoneLinkButton.cs
- ComponentEvent.cs
- XmlAutoDetectWriter.cs
- PieceNameHelper.cs
- XmlDigitalSignatureProcessor.cs
- PropertyCollection.cs
- URIFormatException.cs
- AbsoluteQuery.cs
- ListBoxItemAutomationPeer.cs
- ToolStripButton.cs
- PropertyBuilder.cs
- TextEditorSelection.cs
- CompiledELinqQueryState.cs
- SpeechAudioFormatInfo.cs
- UnsafeNativeMethods.cs
- SecurityPermission.cs
- PageThemeCodeDomTreeGenerator.cs
- EdmSchemaError.cs
- WorkflowServiceBuildProvider.cs
- NullExtension.cs
- ColorAnimationUsingKeyFrames.cs
- OdbcConnectionHandle.cs
- SafeSecurityHandles.cs
- HtmlFormWrapper.cs
- PriorityBindingExpression.cs
- XmlnsPrefixAttribute.cs
- SamlSubject.cs
- ProtocolsConfiguration.cs
- DecoderExceptionFallback.cs
- SqlProfileProvider.cs
- CurrencyWrapper.cs
- MergeEnumerator.cs
- ObjectDataSourceSelectingEventArgs.cs
- ContextMenuStripActionList.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- MouseGesture.cs
- TraceContextEventArgs.cs
- ScriptingSectionGroup.cs
- ConstNode.cs
- TemplateBamlTreeBuilder.cs
- StyleCollectionEditor.cs
- GroupBox.cs
- XamlToRtfWriter.cs
- Button.cs
- RtfControls.cs
- XamlFigureLengthSerializer.cs
- StylusSystemGestureEventArgs.cs
- WindowsServiceCredential.cs
- ExpressionBuilder.cs
- CodeComment.cs
- ExcCanonicalXml.cs
- ResourceCodeDomSerializer.cs
- KeyPressEvent.cs
- CellLabel.cs
- DataGridViewRowsRemovedEventArgs.cs
- LogPolicy.cs
- MaxSessionCountExceededException.cs
- odbcmetadatacolumnnames.cs
- Helper.cs
- RegistrationServices.cs
- SiteMapProvider.cs
- ImmutablePropertyDescriptorGridEntry.cs
- AdCreatedEventArgs.cs
- OracleLob.cs
- FlowNode.cs
- InkCanvasSelection.cs
- ThemeInfoAttribute.cs
- StatusStrip.cs
- SafeProcessHandle.cs
- AssociatedControlConverter.cs
- CollaborationHelperFunctions.cs
- TileBrush.cs
- SqlMethods.cs
- ColumnBinding.cs
- WriteFileContext.cs
- XmlNamedNodeMap.cs
- DBCommandBuilder.cs
- GraphicsState.cs
- GPPOINTF.cs
- TextTabProperties.cs
- Literal.cs
- MoveSizeWinEventHandler.cs
- TextElementEnumerator.cs
- ResourceKey.cs
- MD5Cng.cs