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
- Drawing.cs
- ScriptIgnoreAttribute.cs
- TextDecorations.cs
- XmlDataSourceNodeDescriptor.cs
- XmlEntityReference.cs
- DnsPermission.cs
- AmbientLight.cs
- SpoolingTaskBase.cs
- EmptyImpersonationContext.cs
- TextParagraph.cs
- SizeChangedEventArgs.cs
- SchemaConstraints.cs
- IInstanceTable.cs
- CodeEventReferenceExpression.cs
- SweepDirectionValidation.cs
- AnnotationComponentManager.cs
- ZipIOFileItemStream.cs
- Gdiplus.cs
- ThemeableAttribute.cs
- ColumnMapCopier.cs
- ListItemCollection.cs
- Logging.cs
- WebConfigurationManager.cs
- SchemaNotation.cs
- ErrorHandler.cs
- EncryptedReference.cs
- ObjectDataSourceEventArgs.cs
- DataGridTemplateColumn.cs
- IERequestCache.cs
- BamlTreeMap.cs
- HttpContextBase.cs
- GeneralTransform2DTo3D.cs
- SrgsSemanticInterpretationTag.cs
- SqlCacheDependency.cs
- AuthenticationService.cs
- AttachmentCollection.cs
- MobileErrorInfo.cs
- TextSearch.cs
- CalendarTable.cs
- Win32SafeHandles.cs
- DataServiceHost.cs
- AdCreatedEventArgs.cs
- SymLanguageType.cs
- CodeExporter.cs
- SemaphoreFullException.cs
- RoutedEvent.cs
- MenuItemBinding.cs
- IndependentAnimationStorage.cs
- BooleanAnimationUsingKeyFrames.cs
- DesignerForm.cs
- BamlVersionHeader.cs
- MultipartIdentifier.cs
- OdbcPermission.cs
- Link.cs
- NativeMethods.cs
- WindowsToolbarItemAsMenuItem.cs
- DoubleIndependentAnimationStorage.cs
- UnsafeNativeMethodsPenimc.cs
- DataBindingExpressionBuilder.cs
- SystemWebSectionGroup.cs
- VirtualizingPanel.cs
- ContentElement.cs
- NetSectionGroup.cs
- StreamInfo.cs
- FileLogRecordStream.cs
- CookieProtection.cs
- Part.cs
- SmtpSection.cs
- XmlSchemaComplexContentExtension.cs
- XmlExtensionFunction.cs
- ConfigXmlComment.cs
- EditorBrowsableAttribute.cs
- SecurityIdentifierElementCollection.cs
- Attributes.cs
- GridToolTip.cs
- InputMethod.cs
- InternalConfigSettingsFactory.cs
- SoapIgnoreAttribute.cs
- SelectingProviderEventArgs.cs
- TypeValidationEventArgs.cs
- COM2PictureConverter.cs
- _AutoWebProxyScriptEngine.cs
- AuthenticationModeHelper.cs
- StorageSetMapping.cs
- SectionInput.cs
- ChtmlTextWriter.cs
- EncoderBestFitFallback.cs
- MatrixValueSerializer.cs
- InsufficientMemoryException.cs
- CallbackWrapper.cs
- TypeSource.cs
- CrossContextChannel.cs
- loginstatus.cs
- UrlMappingsModule.cs
- DoubleAnimationClockResource.cs
- ExtendedProtectionPolicyElement.cs
- DataObjectFieldAttribute.cs
- ExtensionFile.cs
- SettingsPropertyValue.cs
- RegexCapture.cs