Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / QIL / QilInvokeEarlyBound.cs / 1305376 / 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
- DataGridViewRow.cs
- UIElementHelper.cs
- XmlSchemaComplexContentRestriction.cs
- XmlIlTypeHelper.cs
- HyperLink.cs
- AddInToken.cs
- BindingsCollection.cs
- ChangePassword.cs
- MouseWheelEventArgs.cs
- DbParameterCollection.cs
- HtmlTableCell.cs
- DataObjectMethodAttribute.cs
- DataGridColumnHeadersPresenter.cs
- ComponentCollection.cs
- CLSCompliantAttribute.cs
- DataGridPagerStyle.cs
- ShaderEffect.cs
- Vector3D.cs
- DataContract.cs
- StreamReader.cs
- DbXmlEnabledProviderManifest.cs
- IsolatedStorageFile.cs
- SspiHelper.cs
- Conditional.cs
- HtmlContainerControl.cs
- BlobPersonalizationState.cs
- CatalogPartChrome.cs
- UserControlBuildProvider.cs
- ErrorStyle.cs
- RSACryptoServiceProvider.cs
- ControlBuilderAttribute.cs
- InkPresenterAutomationPeer.cs
- Vector3DCollection.cs
- ConcurrentStack.cs
- XamlFilter.cs
- CodeDOMProvider.cs
- Image.cs
- SchemaSetCompiler.cs
- ElementUtil.cs
- PresentationTraceSources.cs
- VisualTreeUtils.cs
- FileInfo.cs
- TextUtf8RawTextWriter.cs
- SelectionItemPattern.cs
- PrePostDescendentsWalker.cs
- ServiceBehaviorElementCollection.cs
- CodeEntryPointMethod.cs
- AspNetHostingPermission.cs
- LinqDataSource.cs
- OptimizerPatterns.cs
- InstalledFontCollection.cs
- SoapInteropTypes.cs
- EntityDataSourceWizardForm.cs
- StateDesigner.LayoutSelectionGlyph.cs
- httpapplicationstate.cs
- CustomMenuItemCollection.cs
- BooleanToVisibilityConverter.cs
- WpfSharedBamlSchemaContext.cs
- UInt16Storage.cs
- PropertyDescriptor.cs
- KnownTypesHelper.cs
- IntSecurity.cs
- ColumnCollectionEditor.cs
- TextServicesCompartmentContext.cs
- DynamicMetaObjectBinder.cs
- StorageInfo.cs
- IdleTimeoutMonitor.cs
- DataRecordInternal.cs
- StackOverflowException.cs
- DiffuseMaterial.cs
- DesignerSerializationVisibilityAttribute.cs
- AudioFileOut.cs
- XmlSerializationReader.cs
- HttpCachePolicy.cs
- OptimizedTemplateContentHelper.cs
- SchemaTypeEmitter.cs
- CancellableEnumerable.cs
- TimelineClockCollection.cs
- WindowsIPAddress.cs
- SchemaNames.cs
- ValueQuery.cs
- NetWebProxyFinder.cs
- MulticastNotSupportedException.cs
- NumberFunctions.cs
- ImageMap.cs
- DateTimeFormatInfo.cs
- ICspAsymmetricAlgorithm.cs
- TextTreePropertyUndoUnit.cs
- CornerRadius.cs
- MLangCodePageEncoding.cs
- TdsParserSessionPool.cs
- RawStylusInputCustomDataList.cs
- ReferenceSchema.cs
- ContractMapping.cs
- PaintValueEventArgs.cs
- DefaultPrintController.cs
- ErrorCodes.cs
- TraceSection.cs
- DataGridViewCellConverter.cs
- FragmentQueryProcessor.cs