Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / AST / FunctionDefinition.cs / 1305376 / FunctionDefinition.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- namespace System.Data.Common.EntitySql.AST { using System; using System.Globalization; using System.Collections; using System.Collections.Generic; ////// Represents an ast node for an inline function definition. /// internal sealed class FunctionDefinition : Node { private readonly Identifier _name; private readonly NodeList_paramDefList; private readonly Node _body; private readonly int _startPosition; private readonly int _endPosition; /// /// Initializes function definition using the name, the optional argument definitions and the body expression. /// internal FunctionDefinition(Identifier name, NodeListargDefList, Node body, int startPosition, int endPosition) { this._name = name; this._paramDefList = argDefList; this._body = body; this._startPosition = startPosition; this._endPosition = endPosition; } /// /// Returns function name. /// internal string Name { get { return this._name.Name; } } ////// Returns optional parameter definition list. May be null. /// internal NodeListParameters { get { return this._paramDefList; } } /// /// Returns function body. /// internal Node Body { get { return this._body; } } ////// Returns start position of the function definition in the command text. /// internal int StartPosition { get { return this._startPosition; } } ////// Returns end position of the function definition in the command text. /// internal int EndPosition { get { return this._endPosition; } } } } // 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
- SHA256CryptoServiceProvider.cs
- SqlClientFactory.cs
- AdornerPresentationContext.cs
- WrapPanel.cs
- WorkflowInstanceSuspendedRecord.cs
- BamlWriter.cs
- DrawingImage.cs
- TraceLevelHelper.cs
- SecureEnvironment.cs
- CustomValidator.cs
- Win32MouseDevice.cs
- JapaneseLunisolarCalendar.cs
- SerialPort.cs
- SchemaImporter.cs
- Classification.cs
- HotSpot.cs
- DataViewManagerListItemTypeDescriptor.cs
- XmlChildNodes.cs
- ObjectDataSourceSelectingEventArgs.cs
- CollectionBuilder.cs
- RegexWorker.cs
- XmlNodeChangedEventArgs.cs
- TemplateXamlTreeBuilder.cs
- SqlUdtInfo.cs
- ComboBox.cs
- Html32TextWriter.cs
- ConsumerConnectionPoint.cs
- CharEnumerator.cs
- ControlPropertyNameConverter.cs
- MediaElementAutomationPeer.cs
- CompositeFontFamily.cs
- OverflowException.cs
- HttpModulesSection.cs
- ProvidePropertyAttribute.cs
- HighlightOverlayGlyph.cs
- StorageRoot.cs
- TableDetailsRow.cs
- MemberAssignmentAnalysis.cs
- CallSite.cs
- SecurityChannel.cs
- BinaryObjectWriter.cs
- SafeCoTaskMem.cs
- WebServiceReceiveDesigner.cs
- Queue.cs
- CodeParameterDeclarationExpressionCollection.cs
- HMAC.cs
- SynchronizationHandlesCodeDomSerializer.cs
- EUCJPEncoding.cs
- ListParaClient.cs
- Debugger.cs
- XslAstAnalyzer.cs
- CodeSnippetTypeMember.cs
- WorkflowRequestContext.cs
- TableRowGroup.cs
- ContextDataSourceView.cs
- GuidelineCollection.cs
- ActionItem.cs
- SystemDiagnosticsSection.cs
- CodeSnippetTypeMember.cs
- SortDescription.cs
- UnsafeNativeMethodsMilCoreApi.cs
- DocumentPageView.cs
- StateInitialization.cs
- XmlDocumentFragment.cs
- BorderGapMaskConverter.cs
- CaseStatement.cs
- CompilerResults.cs
- ZipIOExtraFieldPaddingElement.cs
- StrokeNodeEnumerator.cs
- ToolStripDropDownMenu.cs
- ModifyActivitiesPropertyDescriptor.cs
- BamlLocalizableResourceKey.cs
- Matrix3DValueSerializer.cs
- COM2AboutBoxPropertyDescriptor.cs
- SchemaEntity.cs
- DateTimeParse.cs
- TextRange.cs
- ControlParameter.cs
- DataControlButton.cs
- DbgCompiler.cs
- StorageMappingItemLoader.cs
- CustomCredentialPolicy.cs
- DebugView.cs
- MethodAccessException.cs
- RankException.cs
- PermissionRequestEvidence.cs
- SqlFlattener.cs
- StreamResourceInfo.cs
- WebPartAddingEventArgs.cs
- TraceData.cs
- AnchoredBlock.cs
- SpecialNameAttribute.cs
- DBConnection.cs
- BamlResourceContent.cs
- BlockUIContainer.cs
- FunctionMappingTranslator.cs
- EnumCodeDomSerializer.cs
- SystemBrushes.cs
- RuntimeHelpers.cs
- CircleHotSpot.cs