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
- TextMarkerSource.cs
- CornerRadius.cs
- CommandDevice.cs
- PointLight.cs
- UpdatePanelTriggerCollection.cs
- SerializationInfoEnumerator.cs
- ReferentialConstraint.cs
- StateItem.cs
- BindingNavigator.cs
- ServiceContractViewControl.cs
- StatusBarDrawItemEvent.cs
- ZoneLinkButton.cs
- BinaryCommonClasses.cs
- FontFaceLayoutInfo.cs
- TypeGeneratedEventArgs.cs
- ArgumentException.cs
- ListSortDescription.cs
- SspiHelper.cs
- Utils.cs
- SplitterCancelEvent.cs
- _SslState.cs
- HTTPNotFoundHandler.cs
- MultipartIdentifier.cs
- ServiceXNameTypeConverter.cs
- HostingEnvironmentSection.cs
- SignatureDescription.cs
- TreeView.cs
- PropertyChangedEventArgs.cs
- _ListenerResponseStream.cs
- CodeFieldReferenceExpression.cs
- BindingNavigator.cs
- ConfigurationValidatorAttribute.cs
- brushes.cs
- StylusTip.cs
- HostingEnvironment.cs
- DesignerLoader.cs
- CommandBinding.cs
- BitmapEffectGroup.cs
- DataObjectEventArgs.cs
- PerformanceCounterLib.cs
- AddressHeaderCollectionElement.cs
- DocumentViewer.cs
- MachinePropertyVariants.cs
- AdvancedBindingEditor.cs
- EmptyQuery.cs
- GlyphRunDrawing.cs
- COM2Enum.cs
- BamlLocalizer.cs
- Main.cs
- SamlSecurityToken.cs
- GridViewRow.cs
- CfgParser.cs
- DiagnosticsConfigurationHandler.cs
- PeerToPeerException.cs
- SafeNativeMethods.cs
- AsyncInvokeOperation.cs
- LayoutEditorPart.cs
- ConfigurationErrorsException.cs
- OleDbConnection.cs
- XpsColorContext.cs
- ColorPalette.cs
- DecoderExceptionFallback.cs
- OrderedDictionaryStateHelper.cs
- WSFederationHttpBindingElement.cs
- printdlgexmarshaler.cs
- MessageDescriptionCollection.cs
- Profiler.cs
- FontEditor.cs
- PeerNameRecordCollection.cs
- MarshalByRefObject.cs
- TemplatePropertyEntry.cs
- MouseWheelEventArgs.cs
- InputDevice.cs
- ContractMapping.cs
- OdbcReferenceCollection.cs
- Utility.cs
- BackStopAuthenticationModule.cs
- PerformanceCounterPermission.cs
- DispatcherExceptionFilterEventArgs.cs
- _Connection.cs
- X509Certificate2.cs
- LinearKeyFrames.cs
- AnonymousIdentificationSection.cs
- ConnectionManagementElement.cs
- FileSystemEnumerable.cs
- SchemaContext.cs
- UnsignedPublishLicense.cs
- Ticks.cs
- rsa.cs
- WebPartDisplayMode.cs
- BufferAllocator.cs
- WebServiceTypeData.cs
- _SslState.cs
- RepeatInfo.cs
- RenderDataDrawingContext.cs
- RequestQueue.cs
- MouseGestureValueSerializer.cs
- safelink.cs
- TraceRecords.cs
- _NtlmClient.cs