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
- OleDbCommand.cs
- SqlCacheDependency.cs
- QilTernary.cs
- VarInfo.cs
- TreeNodeCollection.cs
- DropDownButton.cs
- _UncName.cs
- FuncTypeConverter.cs
- SessionIDManager.cs
- TextWriterTraceListener.cs
- WebBrowsableAttribute.cs
- EditModeSwitchButton.cs
- PreservationFileReader.cs
- UMPAttributes.cs
- BStrWrapper.cs
- XmlHierarchyData.cs
- nulltextnavigator.cs
- JapaneseCalendar.cs
- TransactionContext.cs
- TableLayoutPanel.cs
- Barrier.cs
- AuthenticationModuleElementCollection.cs
- SystemFonts.cs
- MobileRedirect.cs
- validationstate.cs
- XmlHelper.cs
- _DigestClient.cs
- IisNotInstalledException.cs
- UIInitializationException.cs
- WebMessageEncodingBindingElement.cs
- WinFormsSecurity.cs
- BeginEvent.cs
- GridViewRow.cs
- DataGridViewToolTip.cs
- HiddenField.cs
- CatalogZone.cs
- DbDeleteCommandTree.cs
- NullExtension.cs
- PieceDirectory.cs
- OpenTypeCommon.cs
- AttributedMetaModel.cs
- DataSpaceManager.cs
- SpecialNameAttribute.cs
- SQLInt32.cs
- BindingCollection.cs
- EntityDataSourceStatementEditorForm.cs
- TransformConverter.cs
- SqlConnectionFactory.cs
- AlgoModule.cs
- WindowsTooltip.cs
- Attachment.cs
- SQLChars.cs
- ValueType.cs
- CatalogPartChrome.cs
- _NtlmClient.cs
- ObjectDataSource.cs
- VBIdentifierTrimConverter.cs
- DSACryptoServiceProvider.cs
- QueryCacheManager.cs
- DataGridViewCheckBoxCell.cs
- SqlProviderServices.cs
- ValueTypeFixupInfo.cs
- ActivityDelegate.cs
- SafeNativeMethods.cs
- EntityDataSourceState.cs
- ReplyChannel.cs
- Int64Storage.cs
- ObfuscateAssemblyAttribute.cs
- ObjectReaderCompiler.cs
- WorkflowEventArgs.cs
- Quaternion.cs
- OleDbError.cs
- ThrowOnMultipleAssignment.cs
- AutoGeneratedFieldProperties.cs
- DragDeltaEventArgs.cs
- MenuCommandService.cs
- BaseCodePageEncoding.cs
- ClientOptions.cs
- SpellerStatusTable.cs
- ServiceX509SecurityTokenProvider.cs
- PolicyAssertionCollection.cs
- TracingConnectionInitiator.cs
- DefaultObjectMappingItemCollection.cs
- ProcessingInstructionAction.cs
- SqlServer2KCompatibilityAnnotation.cs
- PictureBox.cs
- ExpanderAutomationPeer.cs
- TrustSection.cs
- FixedDocumentSequencePaginator.cs
- FastPropertyAccessor.cs
- SiteIdentityPermission.cs
- StyleCollectionEditor.cs
- TreeNodeCollectionEditor.cs
- GcHandle.cs
- ExpandedProjectionNode.cs
- BindingNavigator.cs
- followingquery.cs
- MD5HashHelper.cs
- StringDictionary.cs
- DynamicDocumentPaginator.cs