Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- CompiledQuery.cs
- OdbcEnvironmentHandle.cs
- ActivityDesigner.cs
- ToolStripLocationCancelEventArgs.cs
- RemotingHelper.cs
- TextRangeBase.cs
- DbModificationCommandTree.cs
- FeatureManager.cs
- KeyTime.cs
- altserialization.cs
- ExpandCollapsePattern.cs
- SchemaSetCompiler.cs
- SingleConverter.cs
- HttpWebRequest.cs
- XmlAnyElementAttributes.cs
- ConfigurationPropertyCollection.cs
- RawStylusInputCustomData.cs
- SecurityToken.cs
- __Filters.cs
- PageBuildProvider.cs
- DataRow.cs
- FrameworkElementAutomationPeer.cs
- DbConnectionInternal.cs
- _SafeNetHandles.cs
- CompiledQuery.cs
- ImageInfo.cs
- NativeActivityAbortContext.cs
- CheckableControlBaseAdapter.cs
- XmlSchemaRedefine.cs
- BufferModeSettings.cs
- MimeObjectFactory.cs
- KeyGestureConverter.cs
- PersistenceException.cs
- CheckBoxField.cs
- ZoneMembershipCondition.cs
- LogRecordSequence.cs
- GeneralTransformGroup.cs
- ViewValidator.cs
- AudienceUriMode.cs
- ListDictionaryInternal.cs
- ImmutableObjectAttribute.cs
- ViewCellSlot.cs
- DataGridPagerStyle.cs
- LoadRetryAsyncResult.cs
- ServiceReference.cs
- ColorMap.cs
- PtsContext.cs
- Simplifier.cs
- GridViewRowEventArgs.cs
- BinHexDecoder.cs
- RegistrationServices.cs
- RefreshPropertiesAttribute.cs
- NTAccount.cs
- FlowDocumentReader.cs
- ToolBar.cs
- DataGridViewHitTestInfo.cs
- Property.cs
- ExpandedWrapper.cs
- OracleParameterBinding.cs
- CssClassPropertyAttribute.cs
- HandlerFactoryCache.cs
- Permission.cs
- MissingMemberException.cs
- DataErrorValidationRule.cs
- EncoderBestFitFallback.cs
- ObjectCloneHelper.cs
- DigitShape.cs
- XmlToDatasetMap.cs
- _NetRes.cs
- Point4DValueSerializer.cs
- UMPAttributes.cs
- TextBoxBase.cs
- TemplatedAdorner.cs
- AnnotationMap.cs
- DataGridViewColumnCollectionEditor.cs
- RegisteredScript.cs
- HwndHost.cs
- ResourceAttributes.cs
- ByteStack.cs
- AsymmetricAlgorithm.cs
- ResourceSetExpression.cs
- LookupBindingPropertiesAttribute.cs
- UndirectedGraph.cs
- Brush.cs
- _ChunkParse.cs
- SystemResourceKey.cs
- Debug.cs
- Timeline.cs
- SelectedGridItemChangedEvent.cs
- ExceptionHelpers.cs
- CounterSample.cs
- DesignerOptionService.cs
- XmlAttributes.cs
- InternalPolicyElement.cs
- CodeTypeParameter.cs
- ValidationSummaryDesigner.cs
- ComponentResourceManager.cs
- XmlSchemaGroupRef.cs
- Exceptions.cs
- SqlPersonalizationProvider.cs