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
- XmlReturnWriter.cs
- QuaternionAnimationUsingKeyFrames.cs
- ElementInit.cs
- CodeLinePragma.cs
- CodeRemoveEventStatement.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- EntityObject.cs
- TableRowGroup.cs
- EventLogPermissionEntry.cs
- EntityClassGenerator.cs
- ValidatorCompatibilityHelper.cs
- GridViewUpdateEventArgs.cs
- DashStyles.cs
- ToolboxItem.cs
- OperandQuery.cs
- LinkButton.cs
- ConsumerConnectionPoint.cs
- IProvider.cs
- ChangeNode.cs
- ScriptModule.cs
- PersistChildrenAttribute.cs
- SystemTcpConnection.cs
- TypeUsageBuilder.cs
- ExternalDataExchangeService.cs
- Renderer.cs
- XmlSchemaRedefine.cs
- ProviderCommandInfoUtils.cs
- HwndSource.cs
- bidPrivateBase.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- TextBox.cs
- AuthenticationServiceManager.cs
- Quaternion.cs
- ReadOnlyHierarchicalDataSourceView.cs
- PersonalizationEntry.cs
- DetailsViewActionList.cs
- ButtonFieldBase.cs
- TableRow.cs
- OleDbCommandBuilder.cs
- MethodBuilder.cs
- BitFlagsGenerator.cs
- DbProviderConfigurationHandler.cs
- EntityParameter.cs
- Listbox.cs
- BindUriHelper.cs
- DebugControllerThread.cs
- NamespaceInfo.cs
- GenericEnumerator.cs
- Int32CAMarshaler.cs
- WSHttpBindingBase.cs
- EdmScalarPropertyAttribute.cs
- MessageBox.cs
- LocalizableAttribute.cs
- WindowsScroll.cs
- ProcessHostMapPath.cs
- DomainConstraint.cs
- InkCanvasInnerCanvas.cs
- TraceXPathNavigator.cs
- MatrixCamera.cs
- Color.cs
- HealthMonitoringSection.cs
- XmlDictionaryReader.cs
- GroupedContextMenuStrip.cs
- ControlCollection.cs
- ValueConversionAttribute.cs
- ResourceKey.cs
- DynamicExpression.cs
- StylusShape.cs
- CodeTypeMember.cs
- ExternalException.cs
- WindowsIPAddress.cs
- AppModelKnownContentFactory.cs
- NamespaceInfo.cs
- HtmlTableRow.cs
- SystemWebExtensionsSectionGroup.cs
- CFStream.cs
- HtmlTable.cs
- Span.cs
- BamlVersionHeader.cs
- CompiledXpathExpr.cs
- HitTestWithPointDrawingContextWalker.cs
- DataComponentNameHandler.cs
- HttpHandler.cs
- ControlIdConverter.cs
- HandlerFactoryCache.cs
- IndependentAnimationStorage.cs
- DataTransferEventArgs.cs
- PenContext.cs
- CheckBox.cs
- CacheVirtualItemsEvent.cs
- TableCell.cs
- MailAddress.cs
- ConnectionStringsExpressionBuilder.cs
- ImportOptions.cs
- StylusShape.cs
- SQLDecimalStorage.cs
- Compiler.cs
- DES.cs
- PTUtility.cs
- SlipBehavior.cs