Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- XmlCDATASection.cs
- ListViewItem.cs
- XmlDocument.cs
- SqlConnectionPoolGroupProviderInfo.cs
- CrossSiteScriptingValidation.cs
- TimeSpanOrInfiniteConverter.cs
- DocumentOrderQuery.cs
- ThreadStartException.cs
- CodeTryCatchFinallyStatement.cs
- externdll.cs
- CqlParser.cs
- CurrentTimeZone.cs
- NativeMethods.cs
- SystemIPv6InterfaceProperties.cs
- DataViewListener.cs
- PrivateFontCollection.cs
- Convert.cs
- SyndicationItemFormatter.cs
- DispatcherProcessingDisabled.cs
- BackgroundWorker.cs
- SubstitutionList.cs
- TextFormatterContext.cs
- PropertyValueUIItem.cs
- Pair.cs
- ZipIORawDataFileBlock.cs
- InkCanvasFeedbackAdorner.cs
- OdbcInfoMessageEvent.cs
- XPathSelfQuery.cs
- DmlSqlGenerator.cs
- ZoneMembershipCondition.cs
- ContainsRowNumberChecker.cs
- FixedTextBuilder.cs
- PriorityBindingExpression.cs
- ResourceDisplayNameAttribute.cs
- BamlBinaryReader.cs
- SecuritySessionFilter.cs
- CommandPlan.cs
- TextDocumentView.cs
- BookmarkScopeHandle.cs
- RadioButtonFlatAdapter.cs
- WebPartUserCapability.cs
- InstanceLockedException.cs
- ITextView.cs
- RangeValuePattern.cs
- Geometry3D.cs
- SoapSchemaMember.cs
- FlowDocumentReader.cs
- RegistryConfigurationProvider.cs
- _SslStream.cs
- Trace.cs
- BigInt.cs
- HttpWriter.cs
- ToolstripProfessionalRenderer.cs
- AssemblyBuilderData.cs
- SqlMultiplexer.cs
- DispatcherHookEventArgs.cs
- Peer.cs
- SystemInfo.cs
- FixedSOMContainer.cs
- MailWebEventProvider.cs
- Predicate.cs
- DoubleLink.cs
- AxisAngleRotation3D.cs
- AttributeEmitter.cs
- DllNotFoundException.cs
- ValueUtilsSmi.cs
- HttpRawResponse.cs
- BuildProviderAppliesToAttribute.cs
- AssertHelper.cs
- CommandLibraryHelper.cs
- TypeBuilder.cs
- ScriptRegistrationManager.cs
- Stopwatch.cs
- PieceDirectory.cs
- URL.cs
- ChangeTracker.cs
- WorkBatch.cs
- Debugger.cs
- StackBuilderSink.cs
- DataGridViewLinkColumn.cs
- FormViewCommandEventArgs.cs
- ContentHostHelper.cs
- FatalException.cs
- SimpleType.cs
- InternalTypeHelper.cs
- XPathEmptyIterator.cs
- UserValidatedEventArgs.cs
- PackageController.cs
- XmlSchemaComplexContentExtension.cs
- DecimalAnimation.cs
- SearchForVirtualItemEventArgs.cs
- DataGridViewCellStyleChangedEventArgs.cs
- PackageFilter.cs
- LocalBuilder.cs
- SystemIcmpV6Statistics.cs
- SingleObjectCollection.cs
- PointUtil.cs
- MruCache.cs
- GridViewCommandEventArgs.cs
- HttpClientCertificate.cs