GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Model
QueryService Class
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.QueryService.html”>GeoBlazor Docs</a> Executes different types of query operations on a layer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query.html”>ArcGIS Maps SDK for JavaScript</a>
public class QueryService : dymaptic.GeoBlazor.Pro.Model.ProLogicComponent
Inheritance System.Object 🡒 dymaptic.GeoBlazor.Core.Model.LogicComponent 🡒 ProLogicComponent 🡒 QueryService
Constructors
QueryService(AuthenticationManager, JsModuleManager, IAppValidator, IJSRuntime) Constructor
Constructor for use by Dependency Injection. Use AddGeoBlazorPro(this IServiceCollection, IConfiguration) in your startup code.
public QueryService(dymaptic.GeoBlazor.Core.Model.AuthenticationManager authenticationManager, dymaptic.GeoBlazor.Core.JsModuleManager jsModuleManager, dymaptic.GeoBlazor.Core.IAppValidator appValidator, Microsoft.JSInterop.IJSRuntime jsRuntime);
Parameters
authenticationManager
dymaptic.GeoBlazor.Core.Model.AuthenticationManager
jsModuleManager
dymaptic.GeoBlazor.Core.JsModuleManager
appValidator
dymaptic.GeoBlazor.Core.IAppValidator
jsRuntime
Microsoft.JSInterop.IJSRuntime
Properties
QueryService.QueryResultsMaxSizeLimit Property
The maximum size of query results that will be returned in a stream. Note that setting this to a smaller value might create errors in query returns.
public long QueryResultsMaxSizeLimit { get; set; }
Property Value
Methods
QueryService.ExecuteAttachmentQuery(string, AttachmentQuery, RequestOptions, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.QueryService.html#queryserviceexecuteattachmentquery-method”>GeoBlazor Docs</a> Query information about attachments associated with features from a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html”>feature layer</a> specified in the url parameter. param attachmentQuery Specifies the attachment parameters for query. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query.html#executeAttachmentQuery”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.AttachmentsQueryResult?> ExecuteAttachmentQuery(string url, dymaptic.GeoBlazor.Core.Model.AttachmentQuery attachmentQuery, dymaptic.GeoBlazor.Core.Options.RequestOptions? requestOptions=null, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
url
System.String
URL to the ArcGIS Server REST resource that represents a feature layer (usually of a Feature Service Layer or Map Service Layer).
attachmentQuery
dymaptic.GeoBlazor.Core.Model.AttachmentQuery
requestOptions
dymaptic.GeoBlazor.Core.Options.RequestOptions
Additional <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html#request”>options</a> to be used for the data request.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.AttachmentsQueryResult>
QueryService.ExecuteForCount(string, Query, RequestOptions, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.QueryService.html#queryserviceexecuteforcount-method”>GeoBlazor Docs</a> Gets a count of the number of features that satisfy the input query. param query Specifies the attributes and spatial filter of the query. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query.html#executeForCount”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<System.Nullable<int>> ExecuteForCount(string url, dymaptic.GeoBlazor.Core.Model.Query query, dymaptic.GeoBlazor.Core.Options.RequestOptions? requestOptions=null, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
url
System.String
URL to the ArcGIS Server REST resource that represents a feature layer (usually of a Feature Service Layer or Map Service Layer).
query
dymaptic.GeoBlazor.Core.Model.Query
requestOptions
dymaptic.GeoBlazor.Core.Options.RequestOptions
Additional <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html#request”>options</a> to be used for the data request.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<System.Nullable<System.Int32>>
QueryService.ExecuteForExtent(string, Query, RequestOptions, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.QueryService.html#queryserviceexecuteforextent-method”>GeoBlazor Docs</a> Gets the extent of the features that satisfy the input query. param query Specifies the attributes and spatial filter of the query. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query.html#executeForExtent”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.ExtentQueryResult?> ExecuteForExtent(string url, dymaptic.GeoBlazor.Core.Model.Query query, dymaptic.GeoBlazor.Core.Options.RequestOptions? requestOptions=null, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
url
System.String
URL to the ArcGIS Server REST resource that represents a feature layer (usually of a Feature Service Layer or Map Service Layer).
query
dymaptic.GeoBlazor.Core.Model.Query
requestOptions
dymaptic.GeoBlazor.Core.Options.RequestOptions
Additional <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html#request”>options</a> to be used for the data request.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.ExtentQueryResult>
QueryService.ExecuteForIds(string, Query, RequestOptions, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.QueryService.html#queryserviceexecuteforids-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html”>Query</a> against the layer specified in the url parameter. param query Specifies the attributes and spatial filter of the query. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query.html#executeForIds”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<long[]?> ExecuteForIds(string url, dymaptic.GeoBlazor.Core.Model.Query query, dymaptic.GeoBlazor.Core.Options.RequestOptions? requestOptions=null, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
url
System.String
URL to the ArcGIS Server REST resource that represents a feature layer (usually of a Feature Service Layer or Map Service Layer).
query
dymaptic.GeoBlazor.Core.Model.Query
requestOptions
dymaptic.GeoBlazor.Core.Options.RequestOptions
Additional <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html#request”>options</a> to be used for the data request.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<System.Int64[]>
QueryService.ExecuteForTopCount(string, TopFeaturesQuery, RequestOptions, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.QueryService.html#queryserviceexecutefortopcount-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html”>TopFeaturesQuery</a> against a feature service and returns the count of features or records that satisfy the query. param topFeaturesQuery Specifies the attributes, spatial, temporal, and top filter of the query. The <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html#topFilter”>topFilter</a> parameter must be set. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query.html#executeForTopCount”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<System.Nullable<int>> ExecuteForTopCount(string url, dymaptic.GeoBlazor.Core.Model.TopFeaturesQuery topFeaturesQuery, dymaptic.GeoBlazor.Core.Options.RequestOptions? requestOptions=null, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
url
System.String
URL to the ArcGIS Server REST resource that represents a feature layer (usually of a Feature Service Layer or Map Service Layer).
topFeaturesQuery
dymaptic.GeoBlazor.Core.Model.TopFeaturesQuery
requestOptions
dymaptic.GeoBlazor.Core.Options.RequestOptions
Additional <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html#request”>options</a> to be used for the data request.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<System.Nullable<System.Int32>>
QueryService.ExecuteForTopExtents(string, TopFeaturesQuery, RequestOptions, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.QueryService.html#queryserviceexecutefortopextents-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html”>TopFeaturesQuery</a> against a feature service and returns the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html”>Extent</a> of features that satisfy the query. param topFeaturesQuery Specifies the attributes, spatial, temporal, and top filter of the query. The <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html#topFilter”>topFilter</a> parameter must be set. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query.html#executeForTopExtents”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.ExtentQueryResult?> ExecuteForTopExtents(string url, dymaptic.GeoBlazor.Core.Model.TopFeaturesQuery topFeaturesQuery, dymaptic.GeoBlazor.Core.Options.RequestOptions? requestOptions=null, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
url
System.String
URL to the ArcGIS Server REST resource that represents a feature layer (usually of a Feature Service Layer or Map Service Layer).
topFeaturesQuery
dymaptic.GeoBlazor.Core.Model.TopFeaturesQuery
requestOptions
dymaptic.GeoBlazor.Core.Options.RequestOptions
Additional <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html#request”>options</a> to be used for the data request.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.ExtentQueryResult>
QueryService.ExecuteForTopIds(string, TopFeaturesQuery, RequestOptions, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.QueryService.html#queryserviceexecutefortopids-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html”>TopFeaturesQuery</a> against a feature service and returns an array of Object IDs of features that satisfy the query. param topFeaturesQuery Specifies the attributes, spatial, temporal, and top filter of the query. The <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html#topFilter”>topFilter</a> parameter must be set. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query.html#executeForTopIds”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<long[]?> ExecuteForTopIds(string url, dymaptic.GeoBlazor.Core.Model.TopFeaturesQuery topFeaturesQuery, dymaptic.GeoBlazor.Core.Options.RequestOptions? requestOptions=null, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
url
System.String
URL to the ArcGIS Server REST resource that represents a feature layer (usually of a Feature Service Layer or Map Service Layer).
topFeaturesQuery
dymaptic.GeoBlazor.Core.Model.TopFeaturesQuery
requestOptions
dymaptic.GeoBlazor.Core.Options.RequestOptions
Additional <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html#request”>options</a> to be used for the data request.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<System.Int64[]>
QueryService.ExecuteQueryJSON(string, Query, RequestOptions, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.QueryService.html#queryserviceexecutequeryjson-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html”>Query</a> against the layer specified in the url parameter. param query Specifies the attributes and spatial filter of the query. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query.html#executeQueryJSON”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.FeatureSet?> ExecuteQueryJSON(string url, dymaptic.GeoBlazor.Core.Model.Query query, dymaptic.GeoBlazor.Core.Options.RequestOptions? requestOptions=null, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
url
System.String
URL to the ArcGIS Server REST resource that represents a feature layer (usually of a Feature Service Layer or Map Service Layer).
query
dymaptic.GeoBlazor.Core.Model.Query
requestOptions
dymaptic.GeoBlazor.Core.Options.RequestOptions
Additional <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html#request”>options</a> to be used for the data request.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.FeatureSet>
QueryService.ExecuteQueryPBF(string, Query, RequestOptions, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.QueryService.html#queryserviceexecutequerypbf-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html”>Query</a> against the layer specified in the url parameter. param query Specifies the attributes and spatial filter of the query. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query.html#executeQueryPBF”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.FeatureSet?> ExecuteQueryPBF(string url, dymaptic.GeoBlazor.Core.Model.Query query, dymaptic.GeoBlazor.Core.Options.RequestOptions? requestOptions=null, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
url
System.String
URL to the ArcGIS Server REST resource that represents a feature layer (usually of a Feature Service Layer or Map Service Layer).
query
dymaptic.GeoBlazor.Core.Model.Query
requestOptions
dymaptic.GeoBlazor.Core.Options.RequestOptions
Additional <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html#request”>options</a> to be used for the data request.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.FeatureSet>
QueryService.ExecuteRelationshipQuery(string, RelationshipQuery, RequestOptions, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.QueryService.html#queryserviceexecuterelationshipquery-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-RelationshipQuery.html”>RelationshipQuery</a> against the layer or table specified in the url parameter. param relationshipQuery Specifies relationship parameters for querying related features or records from a layer or a table. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query.html#executeRelationshipQuery”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.RelatedFeaturesQueryResult?> ExecuteRelationshipQuery(string url, dymaptic.GeoBlazor.Core.Model.RelationshipQuery relationshipQuery, dymaptic.GeoBlazor.Core.Options.RequestOptions? requestOptions=null, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
url
System.String
URL to the ArcGIS Server REST resource that represents a feature layer (usually of a Feature Service Layer or Map Service Layer).
relationshipQuery
dymaptic.GeoBlazor.Core.Model.RelationshipQuery
requestOptions
dymaptic.GeoBlazor.Core.Options.RequestOptions
Additional <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html#request”>options</a> to be used for the data request.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.RelatedFeaturesQueryResult>
QueryService.ExecuteTopFeaturesQuery(string, TopFeaturesQuery, SpatialReference, RequestOptions, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.QueryService.html#queryserviceexecutetopfeaturesquery-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html”>TopFeaturesQuery</a> against a feature service and returns a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-FeatureSet.html”>FeatureSet</a> once the promise resolves. param topFeaturesQuery Specifies the attributes, spatial, temporal, and top filter of the query. The <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html#topFilter”>topFilter</a> parameter must be set. param requestOptions Additional <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html#request”>options</a> to be used for the data request. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query.html#executeTopFeaturesQuery”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.FeatureSet?> ExecuteTopFeaturesQuery(string url, dymaptic.GeoBlazor.Core.Model.TopFeaturesQuery topFeaturesQuery, dymaptic.GeoBlazor.Core.Components.SpatialReference outSpatialReference, dymaptic.GeoBlazor.Core.Options.RequestOptions? requestOptions=null, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
url
System.String
URL to the ArcGIS Server REST resource that represents a feature layer (usually of a Feature Service Layer or Map Service Layer).
topFeaturesQuery
dymaptic.GeoBlazor.Core.Model.TopFeaturesQuery
outSpatialReference
dymaptic.GeoBlazor.Core.Components.SpatialReference
The desired output spatial reference.
requestOptions
dymaptic.GeoBlazor.Core.Options.RequestOptions
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.FeatureSet>
QueryService.OnExecuteForExtent(IJSStreamReference) Method
JS-Invoked response handler for the ExecuteForExtent request.
public System.Threading.Tasks.Task OnExecuteForExtent(Microsoft.JSInterop.IJSStreamReference jsStreamReference);
Parameters
jsStreamReference
Microsoft.JSInterop.IJSStreamReference
Returns
QueryService.OnExecuteForTopExtents(IJSStreamReference) Method
JS-Invoked response handler for the ExecuteForTopExtents request.
public System.Threading.Tasks.Task OnExecuteForTopExtents(Microsoft.JSInterop.IJSStreamReference jsStreamReference);
Parameters
jsStreamReference
Microsoft.JSInterop.IJSStreamReference
Returns
QueryService.OnExecuteQueryJSON(IJSStreamReference) Method
JS-Invoked response handler for the ExecuteQueryJSON request.
public System.Threading.Tasks.Task OnExecuteQueryJSON(Microsoft.JSInterop.IJSStreamReference jsStreamReference);
Parameters
jsStreamReference
Microsoft.JSInterop.IJSStreamReference
Returns
QueryService.OnExecuteQueryPBF(IJSStreamReference) Method
JS-Invoked response handler for the ExecuteQueryPBF request.
public System.Threading.Tasks.Task OnExecuteQueryPBF(Microsoft.JSInterop.IJSStreamReference jsStreamReference);
Parameters
jsStreamReference
Microsoft.JSInterop.IJSStreamReference
Returns
QueryService.OnExecuteRelationshipQuery(IJSStreamReference) Method
JS-Invoked response handler for the ExecuteRelationshipQuery request.
public System.Threading.Tasks.Task OnExecuteRelationshipQuery(Microsoft.JSInterop.IJSStreamReference jsStreamReference);
Parameters
jsStreamReference
Microsoft.JSInterop.IJSStreamReference
Returns
QueryService.OnExecuteTopFeaturesQuery(IJSStreamReference) Method
JS-Invoked response handler for the ExecuteTopFeaturesQuery request.
public System.Threading.Tasks.Task OnExecuteTopFeaturesQuery(Microsoft.JSInterop.IJSStreamReference jsStreamReference);
Parameters
jsStreamReference
Microsoft.JSInterop.IJSStreamReference