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
- UTF32Encoding.cs
- SizeChangedInfo.cs
- COM2PropertyDescriptor.cs
- CodeMemberEvent.cs
- SimpleWebHandlerParser.cs
- CodeFieldReferenceExpression.cs
- ScriptResourceHandler.cs
- URLAttribute.cs
- SqlTransaction.cs
- basevalidator.cs
- DesignTimeTemplateParser.cs
- TrackBar.cs
- FixedSOMContainer.cs
- DefaultEventAttribute.cs
- NodeLabelEditEvent.cs
- MetafileHeaderWmf.cs
- HostingEnvironmentException.cs
- ComplexTypeEmitter.cs
- DataListItemEventArgs.cs
- UnmanagedMemoryStream.cs
- ValueType.cs
- ClusterRegistryConfigurationProvider.cs
- TryExpression.cs
- SecureEnvironment.cs
- Vector.cs
- UnmanagedMarshal.cs
- PageRequestManager.cs
- ITextView.cs
- OperationContextScope.cs
- ObjectCacheSettings.cs
- ComponentResourceManager.cs
- ReflectionUtil.cs
- ResXDataNode.cs
- CompilerTypeWithParams.cs
- DataRelationPropertyDescriptor.cs
- ListBox.cs
- DependencyObject.cs
- CultureNotFoundException.cs
- SafeReversePInvokeHandle.cs
- WebReferencesBuildProvider.cs
- ExcludePathInfo.cs
- EditorPartChrome.cs
- DataGridViewRowConverter.cs
- StrongNamePublicKeyBlob.cs
- DataGridRow.cs
- WebEventTraceProvider.cs
- OpenFileDialog.cs
- RangeValueProviderWrapper.cs
- NotSupportedException.cs
- PropertyChangedEventArgs.cs
- GenericPrincipal.cs
- ScriptRegistrationManager.cs
- _OSSOCK.cs
- DbConnectionOptions.cs
- ConstructorArgumentAttribute.cs
- PerspectiveCamera.cs
- XmlSignatureManifest.cs
- XmlTextReader.cs
- FastPropertyAccessor.cs
- CurrentTimeZone.cs
- ClientData.cs
- MemberPath.cs
- DataGridColumnHeaderAutomationPeer.cs
- ViewBox.cs
- SqlMethodTransformer.cs
- counter.cs
- Vector3DKeyFrameCollection.cs
- SqlDelegatedTransaction.cs
- SettingsBase.cs
- RawContentTypeMapper.cs
- Duration.cs
- LocalFileSettingsProvider.cs
- StatusBarPanel.cs
- DeclaredTypeElementCollection.cs
- ConditionCollection.cs
- MsmqReceiveHelper.cs
- DES.cs
- SessionPageStatePersister.cs
- _CommandStream.cs
- RoleManagerModule.cs
- WmiEventSink.cs
- FormsAuthenticationUserCollection.cs
- KeyboardNavigation.cs
- SafeNativeMemoryHandle.cs
- _TransmitFileOverlappedAsyncResult.cs
- DocumentGridPage.cs
- Collection.cs
- ComboBoxRenderer.cs
- MenuItem.cs
- TableAutomationPeer.cs
- WhitespaceRuleReader.cs
- HostSecurityManager.cs
- ApplicationProxyInternal.cs
- SchemaAttDef.cs
- WebBrowserBase.cs
- DebugController.cs
- PointAnimation.cs
- LayoutEvent.cs
- MetaModel.cs
- ElementHost.cs