Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / XPath / Internal / Operator.cs / 2 / Operator.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace MS.Internal.Xml.XPath { using System; using System.Xml; using System.Xml.XPath; using System.Diagnostics; using System.Globalization; internal class Operator : AstNode { public enum Op { LT, GT, LE, GE, EQ, NE, OR, AND, PLUS, MINUS, MUL, MOD, DIV, UNION, INVALID }; private Op opType; private AstNode opnd1; private AstNode opnd2; public Operator(Op op, AstNode opnd1, AstNode opnd2) { this.opType = op; this.opnd1 = opnd1; this.opnd2 = opnd2; } public override AstType Type { get {return AstType.Operator;} } public override XPathResultType ReturnType { get { if (opType < Op.PLUS) { return XPathResultType.Boolean; } if (opType < Op.UNION) { return XPathResultType.Number; } return XPathResultType.NodeSet; } } public Op OperatorType { get { return opType; } } public AstNode Operand1 { get { return opnd1; } } public AstNode Operand2 { get { return opnd2; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InkCanvasInnerCanvas.cs
- FlowDocument.cs
- InternalBase.cs
- BitmapEffect.cs
- HttpResponse.cs
- Int32RectConverter.cs
- PerspectiveCamera.cs
- DataSpaceManager.cs
- _LocalDataStoreMgr.cs
- StringUtil.cs
- NotifyInputEventArgs.cs
- TimeManager.cs
- Keywords.cs
- PartitionedStream.cs
- WindowsFont.cs
- assertwrapper.cs
- DataGridViewRowEventArgs.cs
- TimeStampChecker.cs
- MappingSource.cs
- SoapExtensionReflector.cs
- Vector3dCollection.cs
- coordinatorfactory.cs
- SafeFindHandle.cs
- XmlSchemaSimpleType.cs
- CompressEmulationStream.cs
- KnownBoxes.cs
- HtmlTableRowCollection.cs
- SignatureGenerator.cs
- CapabilitiesAssignment.cs
- WebPartTransformerCollection.cs
- WindowsStartMenu.cs
- TaskResultSetter.cs
- BufferBuilder.cs
- NameSpaceExtractor.cs
- PackageDigitalSignatureManager.cs
- TerminateSequenceResponse.cs
- FocusTracker.cs
- PropertyInformation.cs
- Transform3D.cs
- StorageFunctionMapping.cs
- TypeUsage.cs
- iisPickupDirectory.cs
- ProcessHostMapPath.cs
- SAPIEngineTypes.cs
- RoleManagerModule.cs
- MultipleViewProviderWrapper.cs
- ACE.cs
- ActivationService.cs
- TemplatedAdorner.cs
- SerializerWriterEventHandlers.cs
- ServiceParser.cs
- ResourceCategoryAttribute.cs
- AttachedProperty.cs
- Pair.cs
- CmsInterop.cs
- RoutedEventConverter.cs
- XmlNamespaceDeclarationsAttribute.cs
- DocumentApplicationJournalEntry.cs
- InternalDuplexChannelFactory.cs
- StyleXamlParser.cs
- SoapSchemaImporter.cs
- ProxyWebPartManagerDesigner.cs
- Rijndael.cs
- CacheChildrenQuery.cs
- PageRanges.cs
- LongTypeConverter.cs
- FixedPosition.cs
- LogFlushAsyncResult.cs
- GroupBoxAutomationPeer.cs
- QueryParameter.cs
- InheritablePropertyChangeInfo.cs
- Executor.cs
- Vector3DCollection.cs
- DataGridViewRowsAddedEventArgs.cs
- WindowsGraphicsCacheManager.cs
- SystemBrushes.cs
- SafeEventLogReadHandle.cs
- ContextQuery.cs
- httpapplicationstate.cs
- X509ChainElement.cs
- IdentitySection.cs
- TraceXPathNavigator.cs
- Hex.cs
- ConfigXmlSignificantWhitespace.cs
- XhtmlConformanceSection.cs
- BindStream.cs
- ServiceModelStringsVersion1.cs
- BitmapEffectRenderDataResource.cs
- NameValueConfigurationCollection.cs
- HttpListener.cs
- CodeMemberMethod.cs
- HttpWebRequestElement.cs
- HMACSHA256.cs
- SystemFonts.cs
- Highlights.cs
- DataGridViewLayoutData.cs
- HostSecurityManager.cs
- PanelDesigner.cs
- XmlWrappingReader.cs
- ClientApiGenerator.cs