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
- SqlServices.cs
- CompiledQueryCacheEntry.cs
- TextServicesDisplayAttributePropertyRanges.cs
- FieldMetadata.cs
- StorageTypeMapping.cs
- WindowsAuthenticationModule.cs
- DbProviderFactory.cs
- LoginUtil.cs
- TreeView.cs
- CodeTypeDeclaration.cs
- ToolStripItemGlyph.cs
- ProfilePropertyNameValidator.cs
- LoadMessageLogger.cs
- XmlConverter.cs
- MeasurementDCInfo.cs
- EventManager.cs
- InvalidCommandTreeException.cs
- Pkcs9Attribute.cs
- Pointer.cs
- HtmlTableCell.cs
- bidPrivateBase.cs
- TextProperties.cs
- WinCategoryAttribute.cs
- Dispatcher.cs
- AnnotationResource.cs
- DrawingGroupDrawingContext.cs
- SelectionHighlightInfo.cs
- ReferenceEqualityComparer.cs
- EditorResources.cs
- XmlSerializer.cs
- MetadataItemEmitter.cs
- Int64Converter.cs
- SqlConnectionManager.cs
- AttachmentService.cs
- DataRowChangeEvent.cs
- ReadOnlyTernaryTree.cs
- WindowsListViewGroupSubsetLink.cs
- EntityDataSourceChangingEventArgs.cs
- TreeNode.cs
- WindowsToolbar.cs
- CopyAttributesAction.cs
- _LocalDataStoreMgr.cs
- IntellisenseTextBox.cs
- WebPartsPersonalizationAuthorization.cs
- NameValuePermission.cs
- ISFTagAndGuidCache.cs
- OdbcReferenceCollection.cs
- InputMethodStateTypeInfo.cs
- Int32CollectionValueSerializer.cs
- UrlAuthFailedErrorFormatter.cs
- SweepDirectionValidation.cs
- querybuilder.cs
- PropertyGridCommands.cs
- JsonQueryStringConverter.cs
- Point.cs
- OdbcConnection.cs
- RegexCharClass.cs
- DurableInstanceProvider.cs
- SymbolMethod.cs
- FormParameter.cs
- SafeEventLogWriteHandle.cs
- OletxCommittableTransaction.cs
- SqlDataSourceCustomCommandEditor.cs
- GeneralTransformGroup.cs
- SoapRpcMethodAttribute.cs
- NetworkInformationPermission.cs
- CacheSection.cs
- mansign.cs
- SelectingProviderEventArgs.cs
- SiteMap.cs
- Page.cs
- AccessKeyManager.cs
- DataGridView.cs
- ItemCollection.cs
- Shared.cs
- TableLayoutPanelCellPosition.cs
- DeflateStream.cs
- WebBaseEventKeyComparer.cs
- tibetanshape.cs
- TcpTransportElement.cs
- SuppressMessageAttribute.cs
- TransactedBatchingBehavior.cs
- ChtmlCalendarAdapter.cs
- DnsPermission.cs
- DataBindingCollection.cs
- PeerContact.cs
- OuterGlowBitmapEffect.cs
- Attributes.cs
- ControlParameter.cs
- XPathChildIterator.cs
- AuthenticationService.cs
- Int32Animation.cs
- TableMethodGenerator.cs
- CustomValidator.cs
- ToolboxItemFilterAttribute.cs
- regiisutil.cs
- Root.cs
- Convert.cs
- BufferedStream.cs
- FixedSOMContainer.cs