Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / AST / BuiltInExpr.cs / 1305376 / BuiltInExpr.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; using System.Diagnostics; ////// Defines the function class of builtin expressions. /// internal enum BuiltInKind { And, Or, Not, Cast, OfType, Treat, IsOf, Union, UnionAll, Intersect, Overlaps, AnyElement, Element, Except, Exists, Flatten, In, NotIn, Distinct, IsNull, IsNotNull, Like, Equal, NotEqual, LessEqual, LessThan, GreaterThan, GreaterEqual, Plus, Minus, Multiply, Divide, Modulus, UnaryMinus, UnaryPlus, Between, NotBetween } ////// Represents a builtin expression ast node. /// internal sealed class BuiltInExpr : Node { private BuiltInExpr(BuiltInKind kind, string name) { Kind = kind; Name = name.ToUpperInvariant(); } internal BuiltInExpr(BuiltInKind kind, string name, Node arg1) : this(kind, name) { ArgCount = 1; Arg1 = arg1; } internal BuiltInExpr(BuiltInKind kind, string name, Node arg1, Node arg2) : this(kind, name) { ArgCount = 2; Arg1 = arg1; Arg2 = arg2; } internal BuiltInExpr(BuiltInKind kind, string name, Node arg1, Node arg2, Node arg3) : this(kind, name) { ArgCount = 3; Arg1 = arg1; Arg2 = arg2; Arg3 = arg3; } internal BuiltInExpr(BuiltInKind kind, string name, Node arg1, Node arg2, Node arg3, Node arg4) : this(kind, name) { ArgCount = 4; Arg1 = arg1; Arg2 = arg2; Arg3 = arg3; Arg4 = arg4; } internal readonly BuiltInKind Kind; internal readonly string Name; internal readonly int ArgCount; internal readonly Node Arg1; internal readonly Node Arg2; internal readonly Node Arg3; internal readonly Node Arg4; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// 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; using System.Diagnostics; ////// Defines the function class of builtin expressions. /// internal enum BuiltInKind { And, Or, Not, Cast, OfType, Treat, IsOf, Union, UnionAll, Intersect, Overlaps, AnyElement, Element, Except, Exists, Flatten, In, NotIn, Distinct, IsNull, IsNotNull, Like, Equal, NotEqual, LessEqual, LessThan, GreaterThan, GreaterEqual, Plus, Minus, Multiply, Divide, Modulus, UnaryMinus, UnaryPlus, Between, NotBetween } ////// Represents a builtin expression ast node. /// internal sealed class BuiltInExpr : Node { private BuiltInExpr(BuiltInKind kind, string name) { Kind = kind; Name = name.ToUpperInvariant(); } internal BuiltInExpr(BuiltInKind kind, string name, Node arg1) : this(kind, name) { ArgCount = 1; Arg1 = arg1; } internal BuiltInExpr(BuiltInKind kind, string name, Node arg1, Node arg2) : this(kind, name) { ArgCount = 2; Arg1 = arg1; Arg2 = arg2; } internal BuiltInExpr(BuiltInKind kind, string name, Node arg1, Node arg2, Node arg3) : this(kind, name) { ArgCount = 3; Arg1 = arg1; Arg2 = arg2; Arg3 = arg3; } internal BuiltInExpr(BuiltInKind kind, string name, Node arg1, Node arg2, Node arg3, Node arg4) : this(kind, name) { ArgCount = 4; Arg1 = arg1; Arg2 = arg2; Arg3 = arg3; Arg4 = arg4; } internal readonly BuiltInKind Kind; internal readonly string Name; internal readonly int ArgCount; internal readonly Node Arg1; internal readonly Node Arg2; internal readonly Node Arg3; internal readonly Node Arg4; } } // 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
- CrossContextChannel.cs
- ProfileBuildProvider.cs
- QuaternionAnimation.cs
- SerializationEventsCache.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- DynamicMethod.cs
- ClipboardProcessor.cs
- CodeAssignStatement.cs
- ClrPerspective.cs
- DataReceivedEventArgs.cs
- Crypto.cs
- DataGridCellClipboardEventArgs.cs
- VerbConverter.cs
- CDSsyncETWBCLProvider.cs
- SelectionItemProviderWrapper.cs
- TdsParserHelperClasses.cs
- ButtonBaseAdapter.cs
- ProxySimple.cs
- Visual.cs
- ListViewGroup.cs
- XmlUtil.cs
- TrackingDataItemValue.cs
- DecimalAnimationBase.cs
- WaitHandle.cs
- DatatypeImplementation.cs
- DefaultTraceListener.cs
- TextTreeInsertElementUndoUnit.cs
- DeploymentSection.cs
- GPPOINTF.cs
- TypeDescriptionProvider.cs
- Logging.cs
- SqlIdentifier.cs
- ECDsaCng.cs
- ArrayHelper.cs
- HtmlEmptyTagControlBuilder.cs
- MemoryPressure.cs
- DataGridViewImageCell.cs
- AccessDataSource.cs
- ContourSegment.cs
- XmlTextWriter.cs
- Vector3DCollection.cs
- TypeDescriptionProvider.cs
- SwitchExpression.cs
- _NetRes.cs
- DataFormats.cs
- DefaultParameterValueAttribute.cs
- NavigationExpr.cs
- WithStatement.cs
- BindingManagerDataErrorEventArgs.cs
- EmbeddedMailObjectsCollection.cs
- basenumberconverter.cs
- RectangleGeometry.cs
- LayoutTable.cs
- StyleSelector.cs
- TextTreePropertyUndoUnit.cs
- ConfigurationElementCollection.cs
- DropShadowEffect.cs
- StylusCollection.cs
- ToolStripGrip.cs
- SystemColors.cs
- ManagedWndProcTracker.cs
- TraceProvider.cs
- Helpers.cs
- Wizard.cs
- ContainerActivationHelper.cs
- ReadOnlyDictionary.cs
- HandleCollector.cs
- WebPartVerbCollection.cs
- PackagingUtilities.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- LockedBorderGlyph.cs
- AssociationEndMember.cs
- ConfigViewGenerator.cs
- XmlBinaryWriter.cs
- SortedSetDebugView.cs
- MissingMethodException.cs
- Label.cs
- SpeechRecognizer.cs
- ScaleTransform.cs
- XmlBinaryWriterSession.cs
- ToolStripDropDown.cs
- BaseParser.cs
- SelectionItemPattern.cs
- ProcessHostMapPath.cs
- Asn1IntegerConverter.cs
- StringComparer.cs
- CaseInsensitiveComparer.cs
- Transform.cs
- TextTreeUndo.cs
- CompressEmulationStream.cs
- StylusPointPropertyUnit.cs
- SQLResource.cs
- LineServicesRun.cs
- HandlerElementCollection.cs
- EntityConnection.cs
- Size.cs
- CopyOnWriteList.cs
- LessThanOrEqual.cs
- FamilyTypeface.cs
- GetRecipientRequest.cs