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
- CodeRemoveEventStatement.cs
- ComboBox.cs
- ZipIOExtraFieldElement.cs
- EventArgs.cs
- GPPOINTF.cs
- SerializationInfoEnumerator.cs
- TextBoxDesigner.cs
- MemoryPressure.cs
- XhtmlConformanceSection.cs
- ComEventsInfo.cs
- IgnoreFileBuildProvider.cs
- PolicyChain.cs
- ErrorReporting.cs
- ControlBuilderAttribute.cs
- CqlParserHelpers.cs
- TypeInfo.cs
- TdsEnums.cs
- SecurityTokenContainer.cs
- SqlCharStream.cs
- XmlILModule.cs
- WCFServiceClientProxyGenerator.cs
- WebPart.cs
- GcSettings.cs
- BitmapEffectState.cs
- ApplicationInfo.cs
- CellConstantDomain.cs
- TrustManagerMoreInformation.cs
- PageRanges.cs
- InstanceOwner.cs
- PopupEventArgs.cs
- BeginStoryboard.cs
- ToolStripItemDesigner.cs
- TextReader.cs
- TextEffectCollection.cs
- BufferBuilder.cs
- DefinitionBase.cs
- BinarySecretSecurityToken.cs
- ReturnEventArgs.cs
- HandlerFactoryCache.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- path.cs
- DictionaryTraceRecord.cs
- DataGridViewComboBoxColumn.cs
- MessageBox.cs
- LogicalExpr.cs
- PropertyStore.cs
- TextParagraphProperties.cs
- FamilyTypefaceCollection.cs
- Attachment.cs
- SspiSecurityTokenParameters.cs
- XmlMapping.cs
- ExpressionParser.cs
- OutgoingWebResponseContext.cs
- Dictionary.cs
- FocusManager.cs
- UpdatePanelTriggerCollection.cs
- PrtTicket_Public.cs
- DbFunctionCommandTree.cs
- DbProviderFactories.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DbParameterCollectionHelper.cs
- ObjectDataSourceView.cs
- FlowLayoutPanel.cs
- PropertyPathConverter.cs
- log.cs
- PowerModeChangedEventArgs.cs
- XPathBinder.cs
- BamlCollectionHolder.cs
- PageThemeBuildProvider.cs
- DbConnectionPoolCounters.cs
- XmlNodeChangedEventManager.cs
- RegistryConfigurationProvider.cs
- ListDictionary.cs
- TemplateKeyConverter.cs
- NetworkInterface.cs
- SystemUnicastIPAddressInformation.cs
- TableRowCollection.cs
- RegexInterpreter.cs
- NullToBooleanConverter.cs
- TranslateTransform3D.cs
- CodeCatchClause.cs
- ListContractAdapter.cs
- DbConnectionPoolOptions.cs
- WrapPanel.cs
- BaseDataList.cs
- DirectoryInfo.cs
- SQLString.cs
- ClaimComparer.cs
- RoamingStoreFile.cs
- SQLInt32Storage.cs
- IERequestCache.cs
- StrokeDescriptor.cs
- BitmapEffectGroup.cs
- MetadataItem_Static.cs
- VoiceObjectToken.cs
- FormViewRow.cs
- DataGridViewColumnTypeEditor.cs
- WebPartConnectionCollection.cs
- QueryConverter.cs
- SelectedDatesCollection.cs