Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ConnectionStringsSection.cs
- SamlSubjectStatement.cs
- QfeChecker.cs
- EffectiveValueEntry.cs
- DbException.cs
- SoapSchemaExporter.cs
- ScrollBar.cs
- TraceHwndHost.cs
- BuildProvider.cs
- DBSchemaRow.cs
- EntityFrameworkVersions.cs
- WorkBatch.cs
- XslAst.cs
- CDSsyncETWBCLProvider.cs
- ObjectViewListener.cs
- ByteKeyFrameCollection.cs
- ByteStorage.cs
- RankException.cs
- ParameterModifier.cs
- TextProperties.cs
- BitmapDecoder.cs
- IgnoreDataMemberAttribute.cs
- TargetConverter.cs
- UpdateCommand.cs
- DBSqlParser.cs
- Clock.cs
- SchemaTableOptionalColumn.cs
- XmlEncoding.cs
- PenThread.cs
- SolidBrush.cs
- PriorityBindingExpression.cs
- StylusCollection.cs
- HwndTarget.cs
- DocumentOrderQuery.cs
- EventProviderWriter.cs
- webproxy.cs
- ListControlStringCollectionEditor.cs
- ContextToken.cs
- GridView.cs
- DecoderExceptionFallback.cs
- CssClassPropertyAttribute.cs
- PersonalizationAdministration.cs
- ProbeDuplexCD1AsyncResult.cs
- RightsManagementEncryptedStream.cs
- FontFamilyIdentifier.cs
- ClipboardData.cs
- WebPartEditVerb.cs
- FullTrustAssemblyCollection.cs
- JsonDeserializer.cs
- ButtonPopupAdapter.cs
- TextTreeNode.cs
- ZoomingMessageFilter.cs
- Executor.cs
- StrongNameIdentityPermission.cs
- MethodExpr.cs
- RenderDataDrawingContext.cs
- Vector3D.cs
- ValidateNames.cs
- Object.cs
- HijriCalendar.cs
- EventTrigger.cs
- CreateUserWizard.cs
- CodeCatchClauseCollection.cs
- PrimitiveRenderer.cs
- CustomAttributeBuilder.cs
- securitycriticaldataClass.cs
- TraceSwitch.cs
- EncryptedPackageFilter.cs
- DataGridTableCollection.cs
- CodeEventReferenceExpression.cs
- SynchronizationHandlesCodeDomSerializer.cs
- ServerIdentity.cs
- TransformedBitmap.cs
- DecoderBestFitFallback.cs
- DataObjectEventArgs.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- MachineKeySection.cs
- ReadOnlyDataSource.cs
- graph.cs
- TextAutomationPeer.cs
- ReliableChannelBinder.cs
- ToolStripSettings.cs
- _NativeSSPI.cs
- IndependentlyAnimatedPropertyMetadata.cs
- HttpErrorTraceRecord.cs
- RestClientProxyHandler.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- SqlConnectionStringBuilder.cs
- HttpProfileBase.cs
- PolicyLevel.cs
- RoleManagerModule.cs
- Error.cs
- SqlMetaData.cs
- OptimizedTemplateContentHelper.cs
- WebAdminConfigurationHelper.cs
- XmlDataSourceNodeDescriptor.cs
- EntityDesignerDataSourceView.cs
- RegexCharClass.cs
- ConfigurationProperty.cs
- StreamGeometryContext.cs