Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ByteViewer.cs
- newitemfactory.cs
- Mapping.cs
- DataGridViewLayoutData.cs
- FilePrompt.cs
- SimpleApplicationHost.cs
- WaitHandleCannotBeOpenedException.cs
- HuffModule.cs
- HttpWrapper.cs
- EntryPointNotFoundException.cs
- TouchPoint.cs
- WindowsFormsHelpers.cs
- BaseTemplateBuildProvider.cs
- Peer.cs
- WebProxyScriptElement.cs
- UnsafeNativeMethods.cs
- Win32KeyboardDevice.cs
- NativeMethodsOther.cs
- XmlSchemaSequence.cs
- ConfigXmlAttribute.cs
- GridViewSelectEventArgs.cs
- CreateUserWizardAutoFormat.cs
- EncodingInfo.cs
- ColumnWidthChangedEvent.cs
- CreateWorkflowOwnerCommand.cs
- Figure.cs
- SimpleTextLine.cs
- ManifestResourceInfo.cs
- ProvidePropertyAttribute.cs
- AttachmentService.cs
- ClassHandlersStore.cs
- Context.cs
- ScriptRef.cs
- BooleanAnimationBase.cs
- BindUriHelper.cs
- SerializableTypeCodeDomSerializer.cs
- MonitorWrapper.cs
- KeyValueInternalCollection.cs
- SourceSwitch.cs
- DependencyObject.cs
- QuadraticBezierSegment.cs
- DefaultMemberAttribute.cs
- ValidationRule.cs
- CustomExpression.cs
- IdnElement.cs
- Int64AnimationUsingKeyFrames.cs
- XmlElementAttributes.cs
- OleCmdHelper.cs
- Link.cs
- SqlConnection.cs
- DataSvcMapFile.cs
- ProcessHostServerConfig.cs
- MonthCalendar.cs
- MetaForeignKeyColumn.cs
- DataChangedEventManager.cs
- AudioDeviceOut.cs
- Button.cs
- SetterBaseCollection.cs
- GridViewItemAutomationPeer.cs
- CallTemplateAction.cs
- FlatButtonAppearance.cs
- documentation.cs
- TextTreeTextNode.cs
- EventMap.cs
- PrivilegeNotHeldException.cs
- SqlParameter.cs
- TargetInvocationException.cs
- AxHostDesigner.cs
- State.cs
- RuntimeConfigLKG.cs
- Internal.cs
- BeginStoryboard.cs
- FeatureSupport.cs
- RequestCacheManager.cs
- MarshalDirectiveException.cs
- PropertyNames.cs
- RequestCacheManager.cs
- TableRowCollection.cs
- SizeIndependentAnimationStorage.cs
- FixedFlowMap.cs
- CTreeGenerator.cs
- GeneralTransform2DTo3DTo2D.cs
- NamedObject.cs
- StaticExtension.cs
- UnsafeNativeMethodsCLR.cs
- StartUpEventArgs.cs
- HyperLinkStyle.cs
- Rect3D.cs
- ElementProxy.cs
- SqlCacheDependencySection.cs
- SplitterEvent.cs
- DefaultBinder.cs
- FolderNameEditor.cs
- ManifestResourceInfo.cs
- EntitySetBase.cs
- SourceInterpreter.cs
- MachineSettingsSection.cs
- HttpMethodConstraint.cs
- ServerValidateEventArgs.cs
- ExclusiveNamedPipeTransportManager.cs