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
- DetailsViewUpdateEventArgs.cs
- MediaScriptCommandRoutedEventArgs.cs
- WebDisplayNameAttribute.cs
- ComponentEvent.cs
- InfoCardUIAgent.cs
- DataTemplate.cs
- DebugView.cs
- RSAProtectedConfigurationProvider.cs
- EmptyImpersonationContext.cs
- ProviderUtil.cs
- FixedDocumentPaginator.cs
- ThreadAbortException.cs
- RuntimeCompatibilityAttribute.cs
- LogReserveAndAppendState.cs
- Soap.cs
- SymbolType.cs
- FlowDocumentFormatter.cs
- DesignerActionGlyph.cs
- CurrentChangingEventManager.cs
- Options.cs
- GregorianCalendar.cs
- BindingOperations.cs
- webbrowsersite.cs
- SchemaManager.cs
- PrimitiveCodeDomSerializer.cs
- DataServiceRequestException.cs
- DataColumnCollection.cs
- AppDomainAttributes.cs
- SecurityState.cs
- Processor.cs
- SmtpDateTime.cs
- FormatPage.cs
- ConfigurationElementCollection.cs
- SelectionPatternIdentifiers.cs
- ActivationArguments.cs
- GiveFeedbackEventArgs.cs
- CheckBox.cs
- DeleteMemberBinder.cs
- DetailsViewActionList.cs
- EntityDataSourceValidationException.cs
- RelationshipType.cs
- Trigger.cs
- _ConnectOverlappedAsyncResult.cs
- MissingSatelliteAssemblyException.cs
- TableLayoutSettings.cs
- RecognizedAudio.cs
- DataGridViewSortCompareEventArgs.cs
- DbBuffer.cs
- SoapAttributeAttribute.cs
- CodeObjectCreateExpression.cs
- ClientScriptManagerWrapper.cs
- ExpressionBuilderContext.cs
- IsolatedStorageException.cs
- DbProviderManifest.cs
- DetailsViewPageEventArgs.cs
- CommandLibraryHelper.cs
- EntityContainer.cs
- PreProcessInputEventArgs.cs
- ReadOnlyNameValueCollection.cs
- BitmapEffectCollection.cs
- GeneralTransformCollection.cs
- PseudoWebRequest.cs
- PolicyLevel.cs
- SwitchExpression.cs
- StateBag.cs
- Color.cs
- NativeObjectSecurity.cs
- SettingsPropertyIsReadOnlyException.cs
- ChtmlCommandAdapter.cs
- AnonymousIdentificationModule.cs
- SignatureDescription.cs
- DispatcherProcessingDisabled.cs
- IdentityModelStringsVersion1.cs
- RequestCachingSection.cs
- ThreadStaticAttribute.cs
- WindowsScrollBar.cs
- ComponentRenameEvent.cs
- ComplexType.cs
- AuthorizationRule.cs
- MachinePropertyVariants.cs
- xamlnodes.cs
- SharedStatics.cs
- ViewSimplifier.cs
- SlipBehavior.cs
- Italic.cs
- X509Certificate.cs
- FileSecurity.cs
- ConnectionStringSettingsCollection.cs
- SocketInformation.cs
- BulletChrome.cs
- EndPoint.cs
- PropertyTabAttribute.cs
- BitmapMetadataEnumerator.cs
- BoolLiteral.cs
- sitestring.cs
- GetPageNumberCompletedEventArgs.cs
- PropertiesTab.cs
- PropertyContainer.cs
- EventMap.cs
- ControlPaint.cs