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
- DataObjectEventArgs.cs
- SiteMapDataSourceView.cs
- WindowsAltTab.cs
- Socket.cs
- SmiSettersStream.cs
- ChannelManagerService.cs
- XmlUtf8RawTextWriter.cs
- HtmlGenericControl.cs
- ToggleButton.cs
- ALinqExpressionVisitor.cs
- TextRangeBase.cs
- HitTestFilterBehavior.cs
- ELinqQueryState.cs
- ConfigurationErrorsException.cs
- ApplicationFileParser.cs
- DrawingImage.cs
- SqlUnionizer.cs
- StringResourceManager.cs
- PropertyEntry.cs
- PeerNameRecord.cs
- HtmlElement.cs
- GridViewAutomationPeer.cs
- ToolStripRenderEventArgs.cs
- SerTrace.cs
- ByteStorage.cs
- SelectionRangeConverter.cs
- TypePropertyEditor.cs
- TraceEventCache.cs
- AsymmetricAlgorithm.cs
- TaiwanLunisolarCalendar.cs
- RootBrowserWindowProxy.cs
- ContentOperations.cs
- EmbossBitmapEffect.cs
- Msec.cs
- SwitchExpression.cs
- panel.cs
- StyleBamlTreeBuilder.cs
- TextTreeNode.cs
- SQLInt64Storage.cs
- FontFamilyValueSerializer.cs
- SamlAuthorityBinding.cs
- Stroke.cs
- OperatingSystem.cs
- TagMapInfo.cs
- Path.cs
- FuncTypeConverter.cs
- MachineKey.cs
- ZeroOpNode.cs
- RepeaterItem.cs
- Rule.cs
- figurelength.cs
- InternalControlCollection.cs
- AttachedAnnotation.cs
- RefreshPropertiesAttribute.cs
- ToolStripSettings.cs
- DataServiceContext.cs
- RadioButtonBaseAdapter.cs
- LongMinMaxAggregationOperator.cs
- StackBuilderSink.cs
- SqlError.cs
- CommandDevice.cs
- RoutedEventConverter.cs
- XmlHierarchyData.cs
- RectAnimationBase.cs
- ExpanderAutomationPeer.cs
- QueryStatement.cs
- NotifyIcon.cs
- PolyBezierSegment.cs
- ProtocolsConfiguration.cs
- ProcessInputEventArgs.cs
- RoleGroupCollection.cs
- VSWCFServiceContractGenerator.cs
- CategoryGridEntry.cs
- JulianCalendar.cs
- PipeSecurity.cs
- EntityContainerEntitySetDefiningQuery.cs
- FileUtil.cs
- SessionStateUtil.cs
- SecurityToken.cs
- ContextMarshalException.cs
- ContentElementAutomationPeer.cs
- recordstatescratchpad.cs
- DbTransaction.cs
- PassportAuthenticationModule.cs
- ImageMapEventArgs.cs
- ListViewAutomationPeer.cs
- TrustSection.cs
- StrokeSerializer.cs
- CollectionViewProxy.cs
- XmlSchemaChoice.cs
- WebSysDisplayNameAttribute.cs
- PagerStyle.cs
- AutoResizedEvent.cs
- ListBox.cs
- Border.cs
- NativeMethods.cs
- CapacityStreamGeometryContext.cs
- XmlSchemaGroup.cs
- SafeTimerHandle.cs
- Rect3D.cs