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
- CssStyleCollection.cs
- FastEncoder.cs
- XpsStructure.cs
- Parser.cs
- TextServicesCompartmentContext.cs
- StorageInfo.cs
- PowerModeChangedEventArgs.cs
- IPPacketInformation.cs
- DateTimeFormatInfoScanner.cs
- TextInfo.cs
- PTConverter.cs
- PhysicalFontFamily.cs
- TextRenderer.cs
- ManifestSignatureInformation.cs
- Button.cs
- HwndPanningFeedback.cs
- BindingUtils.cs
- LoginUtil.cs
- ThreadStartException.cs
- SystemException.cs
- PlanCompiler.cs
- DocumentEventArgs.cs
- GestureRecognizer.cs
- QilBinary.cs
- DiagnosticTraceSource.cs
- WindowsFont.cs
- Error.cs
- TextLineBreak.cs
- CanonicalFontFamilyReference.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- DictionaryContent.cs
- QilExpression.cs
- TranslateTransform.cs
- cookiecollection.cs
- Rotation3D.cs
- XmlSchemaSimpleContent.cs
- ObjectContextServiceProvider.cs
- SplineQuaternionKeyFrame.cs
- SequentialUshortCollection.cs
- ObjectItemAttributeAssemblyLoader.cs
- WCFModelStrings.Designer.cs
- AttributeCollection.cs
- ClipboardData.cs
- BitmapEffectDrawing.cs
- __ComObject.cs
- SqlConnectionStringBuilder.cs
- TrackingStringDictionary.cs
- ExtendLockCommand.cs
- Stroke.cs
- SettingsAttributeDictionary.cs
- TabControlCancelEvent.cs
- Int64Storage.cs
- XmlWriterTraceListener.cs
- CodeCompiler.cs
- ExtensionWindow.cs
- MD5CryptoServiceProvider.cs
- SafeLocalMemHandle.cs
- EntitySetDataBindingList.cs
- DataService.cs
- ObjectListGeneralPage.cs
- MouseCaptureWithinProperty.cs
- RequestCacheEntry.cs
- PresentationTraceSources.cs
- Shared.cs
- RawStylusInput.cs
- SimpleExpression.cs
- FillRuleValidation.cs
- PeerUnsafeNativeCryptMethods.cs
- EasingFunctionBase.cs
- HttpCacheVary.cs
- PointAnimationUsingKeyFrames.cs
- BamlBinaryWriter.cs
- ValidatorCollection.cs
- PeerObject.cs
- MdiWindowListItemConverter.cs
- ToolStripDropDownMenu.cs
- JsonDeserializer.cs
- VariableQuery.cs
- BindStream.cs
- LayoutTable.cs
- EntitySqlQueryCacheEntry.cs
- ScriptHandlerFactory.cs
- PathGradientBrush.cs
- MethodAccessException.cs
- ConditionalWeakTable.cs
- SmtpClient.cs
- FlowNode.cs
- SafeLocalMemHandle.cs
- MultilineStringConverter.cs
- HMACRIPEMD160.cs
- ApplicationTrust.cs
- WebPartMinimizeVerb.cs
- RadioButton.cs
- DropDownList.cs
- BamlResourceDeserializer.cs
- EventLogPermissionAttribute.cs
- IOException.cs
- MetadataUtilsSmi.cs
- ListViewItemSelectionChangedEvent.cs
- SelectionWordBreaker.cs