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
- SchemaImporter.cs
- TypeUtil.cs
- OracleString.cs
- UIElementParagraph.cs
- SyndicationContent.cs
- Button.cs
- UpdateCompiler.cs
- Underline.cs
- milexports.cs
- TextProperties.cs
- SharedPersonalizationStateInfo.cs
- RecommendedAsConfigurableAttribute.cs
- SingleStorage.cs
- milrender.cs
- TabControl.cs
- TextBoxAutomationPeer.cs
- WizardPanel.cs
- NavigationWindow.cs
- ValueSerializerAttribute.cs
- Table.cs
- WindowsListViewGroupSubsetLink.cs
- BrushMappingModeValidation.cs
- DivideByZeroException.cs
- ScrollBar.cs
- ValidatorUtils.cs
- KoreanLunisolarCalendar.cs
- RuleSettingsCollection.cs
- TableLayoutSettings.cs
- LocalizableAttribute.cs
- SEHException.cs
- XPathParser.cs
- BaseTreeIterator.cs
- SqlStatistics.cs
- MemoryRecordBuffer.cs
- WorkflowTimerService.cs
- TreeNodeClickEventArgs.cs
- TrackingRecord.cs
- PersonalizationStateInfo.cs
- MachinePropertyVariants.cs
- XmlAttributeCollection.cs
- RegistrationServices.cs
- ping.cs
- SqlStatistics.cs
- HttpResponseInternalBase.cs
- TableLayoutSettingsTypeConverter.cs
- Errors.cs
- DataGridTableStyleMappingNameEditor.cs
- AssertFilter.cs
- SpellerError.cs
- SrgsGrammar.cs
- XmlSignificantWhitespace.cs
- RootBrowserWindowAutomationPeer.cs
- LoginViewDesigner.cs
- BinHexEncoder.cs
- Console.cs
- RoleGroupCollection.cs
- SR.cs
- SqlCacheDependencyDatabaseCollection.cs
- RenamedEventArgs.cs
- LowerCaseStringConverter.cs
- CategoryAttribute.cs
- DesignerAttribute.cs
- ReflectionPermission.cs
- DataSourceProvider.cs
- ViewValidator.cs
- exports.cs
- DropDownButton.cs
- RootBrowserWindowProxy.cs
- MetabaseSettingsIis7.cs
- FlowchartDesignerCommands.cs
- Events.cs
- WCFServiceClientProxyGenerator.cs
- WhereQueryOperator.cs
- ConditionalBranch.cs
- GorillaCodec.cs
- SqlClientWrapperSmiStream.cs
- BuildProviderCollection.cs
- ParameterCollection.cs
- MobileListItemCollection.cs
- InkCanvasSelection.cs
- TrustManagerMoreInformation.cs
- WindowsTreeView.cs
- Facet.cs
- IntSecurity.cs
- SecurityUtils.cs
- EncryptedPackageFilter.cs
- DetailsViewInsertEventArgs.cs
- MatrixValueSerializer.cs
- CounterCreationDataCollection.cs
- DateTimeEditor.cs
- LicenseProviderAttribute.cs
- TaskResultSetter.cs
- CatalogPartCollection.cs
- DbParameterHelper.cs
- FontStretches.cs
- ISAPIRuntime.cs
- Site.cs
- SqlVisitor.cs
- StorageEntityTypeMapping.cs
- UiaCoreApi.cs