Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / XmlUtils / System / Xml / Xsl / QIL / QilInvokeEarlyBound.cs / 1 / QilInvokeEarlyBound.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Reflection; namespace System.Xml.Xsl.Qil { ////// A function invocation node which reperesents a call to an early bound Clr function. /// internal class QilInvokeEarlyBound : QilTernary { //----------------------------------------------- // Constructor //----------------------------------------------- ////// Construct a new node /// /// QilLiteral containing the Clr MethodInfo for the early bound function public QilInvokeEarlyBound(QilNodeType nodeType, QilNode name, QilNode method, QilNode arguments, XmlQueryType resultType) : base(nodeType, name, method, arguments) { this.xmlType = resultType; } //----------------------------------------------- // QilInvokeEarlyBound methods //----------------------------------------------- public QilName Name { get { return (QilName) Left; } set { Left = value; } } public MethodInfo ClrMethod { get { return (MethodInfo) ((QilLiteral) Center).Value; } set { ((QilLiteral) Center).Value = value; } } public QilList Arguments { get { return (QilList) Right; } set { Right = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Reflection; namespace System.Xml.Xsl.Qil { ////// A function invocation node which reperesents a call to an early bound Clr function. /// internal class QilInvokeEarlyBound : QilTernary { //----------------------------------------------- // Constructor //----------------------------------------------- ////// Construct a new node /// /// QilLiteral containing the Clr MethodInfo for the early bound function public QilInvokeEarlyBound(QilNodeType nodeType, QilNode name, QilNode method, QilNode arguments, XmlQueryType resultType) : base(nodeType, name, method, arguments) { this.xmlType = resultType; } //----------------------------------------------- // QilInvokeEarlyBound methods //----------------------------------------------- public QilName Name { get { return (QilName) Left; } set { Left = value; } } public MethodInfo ClrMethod { get { return (MethodInfo) ((QilLiteral) Center).Value; } set { ((QilLiteral) Center).Value = value; } } public QilList Arguments { get { return (QilList) Right; } set { Right = value; } } } } // 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
- XmlAttributes.cs
- validationstate.cs
- DataBindingHandlerAttribute.cs
- EventProxy.cs
- MobileControlsSection.cs
- BamlLocalizer.cs
- filewebrequest.cs
- XsltSettings.cs
- NameObjectCollectionBase.cs
- SqlComparer.cs
- SimpleType.cs
- AQNBuilder.cs
- CollectionContainer.cs
- UnauthorizedWebPart.cs
- XmlObjectSerializerWriteContext.cs
- XmlSchemaAnyAttribute.cs
- DataGridToolTip.cs
- ItemCollectionEditor.cs
- RequestTimeoutManager.cs
- ScalarRestriction.cs
- TypedElement.cs
- WCFBuildProvider.cs
- SmiEventSink.cs
- CodeStatement.cs
- DescendantOverDescendantQuery.cs
- PersonalizationProviderHelper.cs
- CollectionViewGroup.cs
- Tag.cs
- ReflectionHelper.cs
- AmbientEnvironment.cs
- DBDataPermission.cs
- TablePattern.cs
- SpeechSeg.cs
- ToolStripDropDown.cs
- KeyMatchBuilder.cs
- SystemBrushes.cs
- SessionConnectionReader.cs
- PermissionToken.cs
- PropertyCollection.cs
- TextTreeExtractElementUndoUnit.cs
- Parser.cs
- ColorConvertedBitmap.cs
- Avt.cs
- InkCanvasInnerCanvas.cs
- AssociationTypeEmitter.cs
- ObjectManager.cs
- LineMetrics.cs
- InputBinding.cs
- StylusButtonEventArgs.cs
- ResolveMatches11.cs
- Grid.cs
- Matrix.cs
- DataGridViewHeaderCell.cs
- contentDescriptor.cs
- HashMembershipCondition.cs
- Run.cs
- CancelEventArgs.cs
- DataListGeneralPage.cs
- EntityWrapperFactory.cs
- UserControl.cs
- TableChangeProcessor.cs
- DurableTimerExtension.cs
- StoreUtilities.cs
- ParserExtension.cs
- UiaCoreTypesApi.cs
- SharedPerformanceCounter.cs
- CalloutQueueItem.cs
- HexParser.cs
- AssertFilter.cs
- RegisteredDisposeScript.cs
- SoapHttpTransportImporter.cs
- errorpatternmatcher.cs
- SafeEventHandle.cs
- TextEffectCollection.cs
- ServiceActivationException.cs
- WebServiceResponseDesigner.cs
- FontFamily.cs
- TransformCryptoHandle.cs
- SoapServerMethod.cs
- Rfc2898DeriveBytes.cs
- InputScopeAttribute.cs
- SoapObjectWriter.cs
- OdbcDataReader.cs
- StatusBarPanelClickEvent.cs
- PointUtil.cs
- Stylesheet.cs
- NavigationService.cs
- Select.cs
- SubstitutionDesigner.cs
- StorageBasedPackageProperties.cs
- EditorZoneBase.cs
- OwnerDrawPropertyBag.cs
- TransformerInfo.cs
- Range.cs
- MailMessage.cs
- XmlAtomicValue.cs
- MonitoringDescriptionAttribute.cs
- PageAsyncTaskManager.cs
- XsdValidatingReader.cs
- DefaultMemberAttribute.cs